Search found 21 matches

by LightningStalker
Sun Nov 12, 2017 9:59 pm
Forum: STLink
Topic: Ultra simple STM32 debugger
Replies: 49
Views: 1371

Re: Ultra simple STM32 debugger

At this moment breakpoints function is not supported. I will add this future if there is interest in the software. I find it quite interesting. That is a good addition (text resizing). Done ! Great thanks I do not use Arduino IDE, but Eclipse. Never tried e-clips, right now I'm using Arduino IDE an...
by LightningStalker
Sat Nov 11, 2017 10:32 pm
Forum: STLink
Topic: Ultra simple STM32 debugger
Replies: 49
Views: 1371

Re: Ultra simple STM32 debugger

@Pito Your debugger.cfg file seems to be correct. 1. I guess you run the 'RunMe_windows.bat' file 2. When you click <connect> do the two st-link leds blink? The .elf file contains the sub-file paths are used in the project. That means, (usually) you cannot compile your project in one computer and u...
by LightningStalker
Fri Nov 10, 2017 8:17 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Medicine Timer
Replies: 26
Views: 392

Re: Medicine Timer

Try enableDebugPorts(void); It works and it's beautiful! So what's happening is it ends up around usb_serial.cpp:315 and then something goes wrong and it jumps to throb(void) in util.c. That is the pulsing I was seeing on RB1. Some old Maple code we weren't aware of, I think I will look into it fur...
by LightningStalker
Fri Nov 10, 2017 6:36 pm
Forum: STLink
Topic: Ultra simple STM32 debugger
Replies: 49
Views: 1371

Re: Ultra simple STM32 debugger

Not working for me in Linux Mint 18.2. I click connect and it looks like it connects, none of the buttons has any effect, nothing in the bottom of the window.
by LightningStalker
Fri Nov 10, 2017 5:38 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Medicine Timer
Replies: 26
Views: 392

Re: Medicine Timer

Nope, SWD does the same thing. Looks like it was using SWD to begin with anyway If I can't attach the debugger, there is no way I will be able to figure out what is going on. $ openocd -f /usr/local/share/openocd/scripts/interface/stlink-v2.cfg -f /usr/local/share/openocd/scripts/target/stm32f1x_stl...
by LightningStalker
Fri Nov 10, 2017 3:38 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Medicine Timer
Replies: 26
Views: 392

Re: Medicine Timer

Well, so far it looks like the bootloader is working fine. I can upload code over USB by driving PC14 high keeping it in bootloader mode. It jumps to the user code just fine. The core otoh, well,

I'm going to try SWD and see how that goes.
by LightningStalker
Fri Nov 10, 2017 1:45 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Medicine Timer
Replies: 26
Views: 392

Re: Medicine Timer

Well I tried st-util and OpenOCD and everything I try to do it just repels it. I don't know what is going on. If the chip is bad, it's failed in the strangest partial way. I can upload code to it, the LED flashes, the bootloader works, but I can't get the debugger to attach properly and the weird fa...
by LightningStalker
Fri Nov 10, 2017 12:22 pm
Forum: General discussion
Topic: Robot Dyn - Black Pill board may pre-install the bootloader !
Replies: 11
Views: 382

Re: Robot Dyn - Black Pill board may pre-install the bootloader !

It does indeed have a 1.5k pullup resistor on the D+ line.
by LightningStalker
Tue Nov 07, 2017 2:45 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Medicine Timer
Replies: 26
Views: 392

Re: Medicine Timer

Which bootloader variant are you using. binaries/generic_boot20_pc13.bin Anyway, in your case it looks like there is a problem with the USB D+ pullup or some other hardware fault. I thought so too, but it looks like there is something more going on here. The pullup resistor meters in at 1460Ω, whic...
by LightningStalker
Sun Nov 05, 2017 9:12 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Medicine Timer
Replies: 26
Views: 392

Re: Medicine Timer

Thanks, this is beginning to become clear to me what is happening. I will go see if I can find that thread when I get a chance. The PC is taking a long time to notice that the big board has switched back to the bootloader and is now a DFU device. It isn't just taking a long time, it doesn't detect i...