Main Site Documentation

Ported board slowing down when not debugging


#1

I found a related bug here https://github.com/ghi-electronics/TinyCLR-Ports/issues/584

The board is an STM32F407VGT6 w/25 MHz Crystal.

How can I find the mentioned addresses in the bug for that MCU so I may apply the patch?

Basically, I’m pulsing a pin at 500ms sleep intervals. When debugging its perfect at 500ms, however, when not debugging it goes up to 600ms (via scope).

Cheers
Matt


#2

Are you connecting by Usb port but not debug?


#3

No, Just power only to the board.

Matt


#4

look at your out put map file, take a look on:
TinyCLR_UsbClient_SetDataReceivedEvent is MODE_ADDRESS
SystemEvents is EVENT_ADDRESS
offset is 0 if these addresses < int.MaxValue.
or offset = address - int.MaxValue.


#5

Worked a treat! Thank you!

Matt