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

LDmicro Forum - LDmicro.GitHub news v5.3.0.5

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

LDmicro.GitHub news v5.3.0.5 (by Ihor Nehrutsa)

* Fixed flashMcu.bat and LIBRARIES_FOR ARM,AVR, PIC by Jose GILLES

* Added: Microchip PIC12F675 8-pin packages

* Added: Microchip PIC16F72 28-Pin PDIP, SOIC, SSOP

* Added: Atmel AVR ATtiny10 6-Pin packages

Sun May 19 2019, 08:56:48
(no subject) (by MGP)
Ihor, thanks for the new version is there any reason why we can not use the pwm instructions on those 8 pins pic's or 16F88, it would be ideal to make a servo controller with the internal oscillator (osc <1Mhz) pwm=50hZ.

Anyway thanks to both of you.
Sun May 19 2019, 09:50:32
Compile problem on window 7 (by AMQ)
Compile problem on window 7
window error atmega128 mpu
Sun May 19 2019, 19:11:00, download attachment Error after During Complie.jpg
compile problem (by Oleksiy)
to AMQ:
please, provide a *.ld file that caused the crash
Mon May 20 2019, 00:36:48
Compile problem on window 7 (by AMQ)

Mon May 20 2019, 02:19:27, download attachment TEST 1.ld
(no subject) (by JosÚ GILLES)

I have also noticed a pb with this very simple ladder when using it with ARM STM32F407 in C mode !
It seems that this error comes from version because it worked fine before...

To Ihor:

I had asked you to let me know before publishing this new version, so that I can make some tests under ARMs, AVRs and PICs ... but you didn't ...

In the meantime I have worked and finished yesterday an implementation of the very interesting STM32F103 (Bluepill) target - see other post. If you had let me know about your new version, we could also have melted our sources ... and get a better release.

More generally, I wonder if it's really interesting to add more and more (very) little targets which don't have a great future, instead of going towards newer ones ?

Best regards
Mon May 20 2019, 04:27:58, download attachment test_led2.ld
(no subject) (by MGP)
To Gilles:

Adding small controllers is ideal for me but I can understand that there are people who need larger controllers and more memory and speed.

But also, Ldmicro is used in many countries where all those new development PCBs are not for sale, they have to do it with old affordable controllers that are fully available.
Mon May 20 2019, 05:02:37
(no subject) (by JosÚ GILLES)

One can afford bying a Bluepill board + ST-Link-v2 emulator for about 10 euros or $ ; provided it is available in the country...

For your PIC16F88, do you know that PWM instructions are available for this target in C mode, using the libraries I have developped, which can be found in LIBRARIES_FOR/PIC16 ?

Read HowTo-Pic16.txt file in LIBRARIES_FOR to have an idea.
I can help you settle the required environment if need be.
Mon May 20 2019, 06:15:59
(no subject) (by MGP)
I dont think so ;) I dont use LDmicro outside the black box.

I do not know the real reason why the 16F88 has no PWM, all of the 16F8xx have pwm but they need an external crystal.

The 16F88 would be ideal for a servo because of the internal 500kHz oscillator.

Is there so much difference between those pics?

Or is it the internal LDmicro compiler or something else?
Mon May 20 2019, 09:26:15
(no subject) (by Alex)
i agree that pwm instructions on 16F88 or another 8 pins mcu pic would be great for servo controller, that "pic" could be our new interface for servos, like interface for serial lcd (16f628a), we could communicate via uart, but we will have to use just one, servo or lcd
Mon May 20 2019, 18:47:43
(no subject) (by Tom J.)
Oh Great! Some more small MCU options! I'll have to order some more stuf in and try them, Thank You Ihor!
Mon May 20 2019, 22:58:30
(no subject) (by Alex)
in this version is ok the LUT instruction for printing words in lcd via i2c?
Tue May 21 2019, 01:01:08
(no subject) (by JosÚ GILLES)
To Alex:

LUT still don't work for PICs in C mode because the very simple modification in ansic.cpp that I had required about it has not been made in ...

You can use instead my new Ldmicro32 version 5.3a available on github (see other post) with which it now works.
This version is derived from official
Tue May 21 2019, 01:48:25
(no subject) (by Ihor Nehrutsa)

Latest your adds in branch

You can pull and push to this branch.
Please use git possibilities.
Tue May 21 2019, 04:18:56
(no subject) (by JosÚ GILLES)
OK Ihor

Thanks for this point of access ; I'll use it now to upload files.
Tue May 21 2019, 12:35:48
Compile problem on window 7 (by AMQ)
Dear Oleksiy and everyones

anybody check this problem ?

Thu May 23 2019, 18:10:14
(no subject) (by Alex)
i tested your ladder in, ldmicro stops working
Thu May 23 2019, 20:02:38
(no subject) (by Ihor Nehrutsa)
to all

Yes, described bug will fixed.
Fri May 24 2019, 02:20:37
THANKS (by suat)
Mon May 27 2019, 16:00:36
(no subject) (by JosÚ GILLES)

For information, we're working together with Ihor on a new significant release of ldmicro...
It should come soon.

Mon May 27 2019, 16:13:22
(no subject) (by Alex)
:) i┤ll be patient for that great release
Mon May 27 2019, 17:44:13
(no subject) (by Alex)
Hello i have a problem showing words in serial lcd, it seems that even if i use \xFE\x47\x01\x01 (column 1 - row 1) a word that i use "adelante" it shows up in lcd like "delante", it is missing word "a" but if i use space bar it shows uip "adelante" compl˝ete word, but in another ladder i used same logic and any word is missing, why is it that, ?

video explanation:


i attach ladder,it is incomplete but the important part is the uart instruction
Mon May 27 2019, 19:59:39, download attachment relay_2_motoresb.ld
(no subject) (by Alex)
wait , now it works ok :/
Mon May 27 2019, 20:11:14
(no subject) (by Alex)
i think that as the ladder was incomplete in some moment both words were printed at the same time, causing it to act like that in vido above, because now that i finish the ladder it works ok :)
Mon May 27 2019, 20:17:01
(no subject) (by Alex)
but i still thinking it should have worked ok in incomplete form too, i mean at least just showing up the word "adelante" complete without interacting with buttons or anything
Mon May 27 2019, 20:21:26
(no subject) (by Alex)
i found the problem i made a bloody mistake, i used L intead of 1, ldmicro is ok, forget about my post, delete it :)
Mon May 27 2019, 21:31:37
Post a reply to this comment:
Your Name:
Your Email:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):