Search found 68 matches
- Fri Jan 13, 2023 5:14 pm
- Forum: IDE's
- Topic: Compilation error on Arduino IDE 2.0.3
- Replies: 1
- Views: 16480
Compilation error on Arduino IDE 2.0.3
Hi all, I am moving a set of sketches from an old computer to a new one. I also decided to try the newest versions of the tools, so I installed the Arduino IDE 2.03 and the STM32 set of boards. I have tried to compile several files. Some succeeded (I did not test if they actually run in the board), ...
- Mon Jul 18, 2022 2:39 pm
- Forum: Projects
- Topic: DS18b20 only works after hot-plug
- Replies: 4
- Views: 2900
Re: DS18b20 only works after hot-plug
This may be a bit off topic, but I have done several projects using the 18B20 and I noticed that this chip is very prone to latchup. So much that for a reliable operation, I do not connect the +Vcc pin directly to the Vcc of the system, but instead, I drive it using an extra pin of the microcontroll...
- Mon Mar 01, 2021 8:10 pm
- Forum: General discussion
- Topic: Strange failure with W5500 shield
- Replies: 1
- Views: 1348
Strange failure with W5500 shield
**** Please disregard this topic. I finally found a mistake in my code. Hi, I am using a Olimexino STM32 board (Maple-like, using a STM32F103RBT6) and an Ethernet shield using a W5500 chip. I am using the library inherited from the Maple environment, that I have reworked to be multitasking-friendly....
- Wed Feb 10, 2021 2:12 pm
- Forum: General discussion
- Topic: Mehod String::toCharArray()
- Replies: 3
- Views: 2715
Mehod String::toCharArray()
I got surprised with the behaviour of this method. I had a string object of length 20. I mean, 20 characters plus the terminal null. After executing the statement S.toCharArray(buf, 20) I ended with a buffer containing the first 19 characters of my string, plus the terminating null. I acknowledge th...
- Sat Feb 06, 2021 10:03 pm
- Forum: General discussion
- Topic: USB-CDC pseudo serial communication
- Replies: 5
- Views: 5482
Re: USB-CDC pseudo serial communication
I have read the code of the library. I understand that you expect data of a fixed byte count (5), and this suffices to ensure the correct framing, unless of course something goes wrong, in which case there is a timeout. Am I right? Additionally, since the incoming data is requested by a character se...
- Sat Feb 06, 2021 8:08 pm
- Forum: General discussion
- Topic: USB-CDC pseudo serial communication
- Replies: 5
- Views: 5482
USB-CDC pseudo serial communication
Hi all, I am starting a project where I need to transfer CAN frames across a USB-CDC connection between a STM32 Duino card and a tablet running a custom Program. My concerns are: 1- is the CDC link reliable, i.e. do I need to add a checksum or CRC checking, or can I rely on the CDC's inherent integr...
- Tue Jan 19, 2021 10:16 am
- Forum: IDE's
- Topic: [SOLVED] Maple_Upload.bat : EXCEPTION_ACCESS_VIOLATION
- Replies: 19
- Views: 40405
Re: [SOLVED] Maple_Upload.bat : EXCEPTION_ACCESS_VIOLATION
I had this problem because I did not update my system. I just updated Maple_Upload.bat and it works. I did not update the platform.txt since it seems that the fix is only for linux, and I am using windows. Actually, I am using an older version because I did personal changes to some libraries, and I ...
- Tue Jan 19, 2021 8:19 am
- Forum: IDE's
- Topic: [SOLVED] Maple_Upload.bat : EXCEPTION_ACCESS_VIOLATION
- Replies: 19
- Views: 40405
Re: [SOLVED] Maple_Upload.bat : EXCEPTION_ACCESS_VIOLATION
I am facing this problem now. After reading all the posts of this thread, I am a bit puzzled. Solutions have been given which work, but what is the "official" solution? The one that would preserve the integrity of the IDE? Actually this problem is not very troublesome. I still can upload a...
- Sat Oct 03, 2020 10:13 am
- Forum: General discussion
- Topic: "EEPROM" on f103cb/c8 rogers core, how to?
- Replies: 11
- Views: 13494
Re: "EEPROM" on f103cb/c8 rogers core, how to?
I have used a lot the simulated EEPROM library from Roger's core, and it worked perfectly. When I moved to STM32Duino, I found a port of this library that I have renamed EEPROM2 to avoid conflicts with the EEPROM library of the STM32 core. Since then, I am still satisfied with the operation, so I ca...
- Wed Jun 10, 2020 9:01 am
- Forum: Libraries & Hardware
- Topic: Hardware CAN library
- Replies: 7
- Views: 8186
Re: Hardware CAN library
No, I did not. I am currently on vacations...