Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - LDmicro.GitHub news v4.1.7

(you are viewing a thread; or go back to list of threads)

LDmicro.GitHub news v4.1.7 (by Ihor Nehrutsa)
https://github.com/LDmicro/LDmicro/releases/tag/4.1.7

== Release 4.1.7

* New: The pseudo-random number generator RAND implemented.
RAND element based on linear congruential generator (LCG).
See https://en.m.wikipedia.org/wiki/Linear_congruential_generator
The generator is defined by the recurrence relation:
X[n+1] = (a * X[n] + c) mod m
Used constants from the VMS's MTH$RANDOM, old versions of glibc
a = 69069 ( 0x10DCD )
c = 1
m = 2^32
X = (X * 0x10DCD + 1) % 0x100000000
RAND return the most significant bytes of X.

* New: RANDS element set seed of RAND. X[n] := newSeed.
Press F1 in LDmicro to see the manul.txt.

* New: UART SENDn element send full size varible via USART in raw binary format.
One byte sends per cycle of PLC, like 'FORMATTED STR OVER UART' element.

* Wiki: LDmicro RANDOM
https://github.com/LDmicro/LDmicro/wiki/LDmicro-RANDOM
Fri Mar 3 2017, 13:47:03, download attachment build417.zip
(no subject) (by Ihor Nehrutsa)
Also tested in Proteus

"Atmel AVR ATmega32U4 44-Pin packages"
"Atmel AVR ATmega32 44-Pin packages"
"Atmel AVR ATmega328 32-Pin packages"

"Microchip PIC16F72 28-Pin PDIP, SOIC, SSOP"
"Microchip PIC12F675 8-pin packages" and PIC12F629
"Microchip PIC12F683 8-pin packages"

"Microchip PIC16F1512 28-Pin SPDIP, SOIC, SSOP"
"Microchip PIC16F1516 28-Pin SPDIP, SOIC, SSOP"
"Microchip PIC16F1527 64-Pin packages"

"Microchip PIC10F202 6-SOT"
"Microchip PIC10F200 6-SOT"

contact to [email protected]
Fri Mar 3 2017, 13:49:30
(no subject) (by Ihor Nehrutsa)
Also fixed bug from Alex in second post of

http://cq.cx/ladder-forum.pl?action=viewthread&parent=6071
Fri Mar 3 2017, 13:53:55
(no subject) (by André Luiz (Brazil))
the LDmicro v4.1.7 work with PIC16F72 and 12f629?
Free?
Sun Mar 5 2017, 13:25:49
(no subject) (by Ihor Nehrutsa)
They tested and ready for use.
Not free now.
Sun Mar 5 2017, 16:20:07
(no subject) (by Jonathan Westhues)
Please note that the GPL requires that as soon as you redistribute binaries of code derived from LDmicro to anyone, you must also publicly offer the source. You are free to make money from LDmicro by consulting, sponsorship of features, etc., and I am happy to see your enhancements to the program; but the license does not permit a non-free fork.
Sun Mar 5 2017, 16:49:18
(no subject) (by André Luiz (Brazil))
Jonathan Westhues I understand sir ihor and I want to congratulate you on the efforts and hope he continues to further improve the ldmicro.
Jonathan Westhues thanks for ldmicro.
Sun Mar 5 2017, 19:30:29
Selling Free Software (by Ihor Nehrutsa)
At page
https://www.gnu.org/philosophy/free-sw.en.html
in paragraph "The four essential freedoms"
...
“Free software” does not mean “noncommercial”. A free program must be available for commercial use, commercial development, and commercial distribution. Commercial development of free software is no longer unusual; such free commercial software is very important. You may have paid money to get copies of free software, or you may have obtained copies at no charge. But regardless of how you got your copies, you always have the freedom to copy and change the software, even to sell copies.
...

At page
https://www.gnu.org/philosophy/words-to-avoid.en.html
in paragraph “Access”
...
For instance, freedom 2 says that that user is free to make another copy and give or sell it to you. But no user is obligated to do that for you; you do not have a right to demand a copy of that program from any user.
...

At page
http://www.gnu.org/philosophy/selling.en.html
in paragraph "Selling Free Software"
...
Actually, we encourage people who redistribute free software to charge as much as they wish or can.
...
Mon Mar 6 2017, 03:37:44
Selling Free Software (by Ihor Nehrutsa)
Anyone LDmicro user can download the latest version source code and binaries from page
https://github.com/LDmicro/LDmicro/releases

When you pay for any additional features (functionality), you get LDmicro binaries, and also you can get source code with this
additional features (functionality) in accordance to GPL.

And no one do not have the right to demand a copy of the program from any user.
Mon Mar 6 2017, 04:06:45
(no subject) (by Jonathan Westhues)
No one has a right to demand a copy of the program. But, as soon as one of your buyers posts the source code here--which the license absolutely permits, since the buyer can share it with anyone, including the whole world--your "sale" is effectively just a "sponsorship".

The FSF's page is technically correct, but a bit misleading. No one ever buys free software except for altruistic reasons, or for support, or to sponsor new development and customization.

Try a threshold pledge campaign, a la Kickstarter? Or look for companies that sell industrial microcontroller boards, and cold-email them to offer a custom LDmicro version?

There are ways to make money from free software, but it's not easy. Most free software development ends up, deliberately or not, mostly as a gift to the world. I'd encourage anyone who uses and enjoys LDmicro (or any other free software) to keep that in mind...
Mon Mar 6 2017, 04:22:51
(no subject) (by bfwolf)
To Jonathan, To Ihor,

as i understood Ihor, he is only trying to get sponsorship for his improvements of ldmicro (which is OK, as i think) and as soon, as a person paid for a new feature (or a bunch of new features) he will release the binary including the improvements to the public AND all the sources necessary to rebuild this binary.
So one (or more persons) pay for something new, that they need and all get the profit.
I think, this practice is in accordance with the GPL.

Ihor talked about this in an earlier thread, as i remember right.
Mon Mar 6 2017, 06:54:38
(no subject) (by Jonathan Westhues)
Sponsorship is good, as you say. Feel free to post pledge amounts and progress here, or you could try a crowdfunding site or something.
Mon Mar 6 2017, 10:36:11
Tiny bootloader compatibility (by Antonio)
Hi friends

Is the .hex code compiled from 4.1.7 build not supported by Tiny bootloader software?

Tiny software returns:

"could not understand HEX file
ERROR!
Incomplete implemetation of extended intel hex files (\\tsclient\P\work\tinybld\DelphiTinyBld\tinybldComm.pas, line 2501)"

I was using LDmicro 2.2 and it was ok.

I'd like to protect the program memory code, writing 0x0F72 on Configuration Bits...

Thanks!
Antonio
Mon Mar 6 2017, 21:00:47
(no subject) (by Ihor Nehrutsa)
To Antonio
Please give link to tinyBootloader
I will test
Mon Mar 6 2017, 23:33:17
(no subject) (by Antonio)
Ihor

web page to download:

http://www.etc.ugal.ro/cchiculita/software/tinyblddownload.htm

tinybld1106 http://www.etc.ugal.ro/cchiculita/software/TinyBld_1_10_6_pc_beta.zip

tinybld198
http://www.etc.ugal.ro/cchiculita/software/tinybld198.zip

Both versions tinybld1106 and tinybld198 works properly with LDmicro 2.2 and dont recognize hex file from 4.1.7.

Thanks!
Tue Mar 7 2017, 09:51:18
(no subject) (by Ihor Nehrutsa)
To Antonio
I try simplest ld with tinybld198 and tinybld1106.
No errors occurred.
Can you publish you hex(ld) here or send to [email protected] ?
Thu Mar 9 2017, 04:24:35
(no subject) (by Ihor Nehrutsa)
To Antonio
Try please
Thu Mar 9 2017, 09:58:57, download attachment ldmicro.zip
(no subject) (by Antonio)
Hi Ihor

I tested whit your last ldmicro.zip and worked ok, tiny bootloader recognizes and writes the hex file properly.

Thanks so much for your work!

Regards

Antônio.
Thu Mar 9 2017, 20:39:26
(no subject) (by Ihor Nehrutsa)
To Antonio
Will applayed in v4.1.8
Fri Mar 10 2017, 03:06:31
(no subject) (by Alex)
Sun Mar 26 2017, 20:49:08
(no subject) (by MGP)
The site is offline as expected, hobbysites don't last long.
Here you have the pages copied from his site.

Maybe Ihor might publish it on its website.
Mon Mar 27 2017, 07:32:58, download attachment x7jay7-JasonJacobs.zip
(no subject) (by Ihor Nehrutsa)
Mon Mar 27 2017, 15:26:08
fault in ver.4.1.7 (by Aldemir da Silva Barbosa) (by Aldemir da Silva Barbosa)
congratulations Ihor Nehrutsa for the great work!
In version 4.1.7 the example code "two three phase sine wave based on the hardware PWM" does not work in "WIN7 / 64bits home edition".
In version 4.1.2 works perfectly.
Sun Apr 9 2017, 12:48:43
(no subject) (by Ihor Nehrutsa)
to Aldemir da Silva Barbosa
Error in Windows 7 64bit fixed in v4.1.8
Thu Apr 13 2017, 05:06:44
fault in ver.4.1.7 (by Aldemir da Silva Barbosa)
works perfectly!
Thanks so much for your work!
Fri Apr 14 2017, 12:20:34
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):