Search found 502 matches

by stevestrong
Thu Jun 04, 2020 7:57 am
Forum: General discussion
Topic: Problem with serial after waking up from stop/deepsleep
Replies: 6
Views: 7358

Re: Problem with serial after waking up from stop/deepsleep

You can try

Code: Select all

Serial.end(); // before going to sleep
and

Code: Select all

Serial.begin(); // at wake up
by stevestrong
Wed Jun 03, 2020 6:04 pm
Forum: General discussion
Topic: STM32F103 Strange Behavior
Replies: 5
Views: 4145

Re: STM32F103 Strange Behavior

In my case the app was always compiled for upload with STLink (vector at 0x08000000), the same BIN worked when uploaded with Cube programmer, and it failed when uploaded with STLink. In the later case the FLASH was corrupted (empty), and the utility sw had a freeze.
by stevestrong
Wed Jun 03, 2020 4:02 pm
Forum: Libraries & Hardware
Topic: New CAN Bus Library for the stm32f103
Replies: 16
Views: 34600

Re: New CAN Bus Library for the stm32f103

Well, some of those registers (e.g. GPIO) are also defined in the libmaple core, and he still redefines them...

Anyway, I think we have to ask again the OP which core he actually used.
by stevestrong
Wed Jun 03, 2020 3:56 pm
Forum: Libraries & Hardware
Topic: New CAN Bus Library for the stm32f103
Replies: 16
Views: 34600

Re: New CAN Bus Library for the stm32f103

It will not compile for libmaple, because it uses digitalToggle() function, which does not exist in libmaple core...
I am sure PIO uses the official ST core 8-)
by stevestrong
Wed Jun 03, 2020 3:34 pm
Forum: Libraries & Hardware
Topic: New CAN Bus Library for the stm32f103
Replies: 16
Views: 34600

Re: New CAN Bus Library for the stm32f103

I don't think that it is for libmaple.
Under "Instalation" is stated:
The library was developed using Platformio and STM32duino
.
by stevestrong
Wed Jun 03, 2020 3:28 pm
Forum: General discussion
Topic: STM32F103 Strange Behavior
Replies: 5
Views: 4145

Re: STM32F103 Strange Behavior

I also observed strange STLink upload behavior during the CDC bootloader development. At a certain point I could not upload the BIN file with STlink but I could upload it using Eclipse and starting the debug session, or with STMCUbe programmer. And the fail uploads varied somehow dependent on the co...
by stevestrong
Fri May 29, 2020 12:55 pm
Forum: Custom design boards
Topic: Problem with custom made Board und HiD Bootloader
Replies: 7
Views: 6949

Re: Problem with custom made Board und HiD Bootloader

error resetting after download: usb_reset: could not reset device, win error: Ein nicht vorhandenes Gerät wurde angegeben. state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present This is does not really mean an error, do not pay attention to this, the upload should be successful.
by stevestrong
Thu May 28, 2020 5:28 pm
Forum: Custom design boards
Topic: Problem with custom made Board und HiD Bootloader
Replies: 7
Views: 6949

Re: Problem with custom made Board und HiD Bootloader

Can you post the complete Arduino generated message?
by stevestrong
Tue May 26, 2020 6:41 pm
Forum: Projects
Topic: Help with cascade PID for self balancing bike
Replies: 14
Views: 13708

Re: Help with cascade PID for self balancing bike

It looks to me like a positive feedback regulation instead of a negative one, or it is too slow. Maybe inverting the steering direction?

Go to advanced search