Alexey
Alexey
Uh, that will be great, ive tried to implement smth like this with F401 (using maple "LEAF" sequence as a trigger), but stucked cuz it just reboots instead of running...
Woohoo, it realy works) but i failed resetting it by 1200 baud and added simple mapple style reset (if "leaf" trigger recieved) so now it resets and uploads flawlessly using...
> @stas2z > It should be fine to find why it is not reset setting 1200. > Did you try manually without upload scripts? yes, ive tried to connect with...
> I've just tested with a Nucleo-F401RE and a USB shield and this work fine... > You set the USB CDC port at 1200 not an HardwareSerial port ? yes,...
> stty -F /dev/ttyACM0 1200 No, its not working for my board Also i found a problem i got when i tried to implement it by myself, it just reboots...
> In fact I used the backup register to ensure having original config and no feature configured. > I'm surprise to see HSE in your code as it should be...
> Ok. In fact I've made the minimum to work. Resetting systick an RCC could be added, I guess. Maybe also HAL_DeInit as it is init for backup access. Anyway,...
its weird, but 1200 baud reset working under windows for me, without rebuilding but for linux it's not, even with sudo (any terminal app works fine, but 1200 baudrate reset...
> which Linux OS do you used? mint 19.2 (ubuntu 18.04 based)
> Ok, I'v tested on 14.04 and 16.04 anyway this should be the same or a usb driver issue as the speed is not relevant for this kind of device...