Search found 26 matches

by miki
Tue Jan 28, 2020 10:26 pm
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 57529

Re: Interesting problem

Yes it works but after I flash the program this method don’t work anymore with stlink.i cannot change to serial back and forth every time i want flash the program.after I flash one time I cannot connect anymore with stlink without boot0 or reset pin.probably the program take swd pins as in use.but t...
by miki
Tue Jan 28, 2020 8:44 pm
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 57529

Re: Interesting problem

Thanks for info. About BOOT0.The problem is that, If I don't use BOOT0 pin I get refuse to connect with the target message.So no re-flashing would be possible.With BOOT0 high i connect and flash every time with STlink V2.I know that is used in serial uploading but It is used with SWD pins too.I am t...
by miki
Tue Jan 28, 2020 7:53 pm
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 57529

Re: Interesting problem

Well STLINk works with BOOT0 as I have no access to reset pin but I hacked the BOOT0 pin with a small wire to 3.3V.I called in my main program the jumping to bootloader header to eliminate the need of BOOT0 and use another more accessible pin.
by miki
Tue Jan 28, 2020 6:31 pm
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 57529

Re: Interesting problem

among the things to check is the ld script used with the sketch, normally that is selected with the upload method as if the stm32duino DFU boot loader is selected, the install address of the sketch would be 0x8002000. without that additional boot loader it is 0x8000000 this is the normal flash inst...
by miki
Tue Jan 28, 2020 6:29 pm
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 57529

Re: Interesting problem

What error Arduino IDE report? - "No ST-LINK detected!" - "No target connected. Unable to connect to ST-LINK!" - "Unable to connect to the MCU device!" Also, when using STM32 ST-LINK Utility, when you click "connect to target", does it connect or you get erro...
by miki
Tue Jan 28, 2020 4:45 pm
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 57529

Re: Interesting problem

STM chips original. I cannot use arduino IDE upload and ST link I get an error STlink not found.My project don't have maple bootloader. As I said I can use serial for uploading no problem but it is not feasible for me for keeping long term and portability. I have exposed only SWD pins.The serial pin...
by miki
Tue Jan 28, 2020 3:56 pm
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 57529

Re: Interesting problem

The binary is built with arduino IDE in serial mode.Flashing it is done with STlink V2 and STlink utilities.I used serial only for debug as temporary solution it is a mess of small wires I cannot maintain in like that and use the board.
Any way thanks for support I will try investigate more.
by miki
Tue Jan 28, 2020 10:04 am
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 57529

Re: Interesting problem

STM32 has already its own internal bootloader.If I have already an easy method to jump in from application there is no point to make a new bootloader.
by miki
Tue Jan 28, 2020 9:53 am
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 57529

Re: Interesting problem

I thought roger bootloader needs usb to work.If it works without I'm definitely interested. I hope it is not using too much time to boot.These bootloaders have a check at start some waiting for 2 seconds waiting for command before switching to main program.I need to enter in main program in max 100-...
by miki
Tue Jan 28, 2020 9:42 am
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 57529

Re: Interesting problem

I replied already.I was thinking about that when I saw first time the problem. No they are not defined.Maybe they are affected somehow but I don't see it right now.I have some PA pins defined as analog pins but not those. I have activated some priority interrupts on maybe that can be a problem I wil...

Go to advanced search