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.3.8.7

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

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

== Release 4.3.8.7

* Fixed: Can't assign PWM pin because of empty PWM pins list #73

* Fixed: When compiling ansic for Arduino using REGISTER mcu,
generated code includes "#", Arduino does not compile (#72)

* Added: For PIC16F886, PIC16F887 enabled pins:
RE3(Input Only), RA7 (I/O when internal oscillator used), RA6 (I/O when internal oscillator used).
Thu Apr 26 2018, 13:29:59, download attachment build4387.zip
(no subject) (by Alex)
thanks ihor, now it compiles in arduino :) ; by the way in "help" then option "about" it says 4.3.8.6 it should say 4.3.8.7 ,little thing
Thu Apr 26 2018, 13:47:01
(no subject) (by Ihor Nehrutsa)
I fogot change the number. This is v4.3.8.7
Thu Apr 26 2018, 14:42:00
A SPI is born in ldmicro... (by José GILLES)
Hi Mr Ihor

You may be aware (by looking at recent posts on the forum) that I've been working for a few weeks to make ldmicro work with my favorite µC: a 32-bit ARM by ST (STM32F407) on a customized Olimex E-407 Board. This µC also powers the famous ST Discovery Board.

I've made several developments:

- reorganization of Instruction menu by categories
- french language enhanced support
- creation of STM32F407 µC
- extension of ports from 8 to 16 bits
- creation of ld backups when big "terminate bug" crash, not to waste one's work

- creation of a C compiling sketch for ARMGCC which produces a fully runnable C program, and when bound with a free libraries via customized flashMCU script, an hex file (all this without exiting ldmicro)

- support for standard ldmicro peripherals: ADC, UART and PWM

- support for SPI PERIPHERAL (1 SPI among 3 available) using SPI contacts existing in ldmicro but not implemented
- SPI with 2 functions: Send/Receive (Bytes) + Write (String)
- creation of a SPI SIMULATOR derived from the UART Simulator
terminal window

The main development is the latter (SPI), because it shouldn't be difficult to adapt it to AVRs or PICs via C compiling, what may interest users of ldmicro.

It shouldn't be much more difficult either to implement I2C bus in the same manner, to manage sensors etc.

All those who are interested in these developments can try the english attached version of my ledmicro.exe + Spi simulator screeshot, and see it's very serious, although it needs a bit more testing (beta version).

If you try, let me know what you think of it !

Best Regards
JG
Sat Dec 15 2018, 14:00:32, download attachment ldmicro-spi.zip
(no subject) (by Alex)
Thanks José GUILLES, i want to try it as fast as possible but got same error when you post 2.4v , you described about Error MSVCR100(D).dll, couldn´t install it
Sat Dec 15 2018, 14:13:52, download attachment Error MSVCR100(D).jpg
A SPI is born (following) (by José GILLES)

Yes, you're right Alex, I made 2 mistakes: french version instead of the english one, and debug executable instead of normal one.

Here's a new zip.
JG
Sat Dec 15 2018, 14:53:26, download attachment ldmicro-spi.zip
(no subject) (by Alex)
i can open it, thanks José GUILLES, i would like to find a simulator for STM32F407 like proteus but there is not ijust found that Philips paid for LPC support.

https://www.edaboard.com/showthread.php?352596-stm32f4-proteus-library

there is one thing, if you don´t select stm32f4 mcu and you use spi function in your ladder error message shows up, it happens also when you go to mcu parameters then you quit parameters error message shows up everytime you close mcu parameters,is it like a caution message that only works for stm32f4 for now?



https://www.youtube.com/watch?v=Kqx9pKoj-Tw&feature=youtu.be
Sun Dec 16 2018, 08:15:06
(no subject) (by José GILLES)
Alex:

The end of this chat about Proteus STM32f4 simulator made me laugh a lot !!!

Yes, you have for the time being one warning message for each SPI element in the ladder because your µC hasn't got SPI definition in MCU_table...

Hope it'll come soon, since I'm now working on SPI for AVRs via C compiling and AvrDude, to be tested with my old Atmega16.

Notice that my SPI only works in Master mode / 8 bits / Msb, which is the most usefull as far as I know.

Did you try the SPI simulator Terminal ?

JG
Sun Dec 16 2018, 10:06:54
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):