Page 1 of 1

Problem with new arm mircoprocessor

Posted: Wed Jun 16, 2021 5:17 pm
by fredd90
Hello

Recently I've got problem with my inverterboard in my ldu, not sensing encoder.

Got new microcontroller and replaced those, is it possible to load bootloader through Web interface or do I need a st-link or similar?



/Thanks in advance Fredrik

Re: Problem with new arm mircoprocessor  [SOLVED]

Posted: Wed Jun 16, 2021 6:16 pm
by johu
You'll need an ST-Link.
The ESP has an SWD feature but it didn't work for me, unfortunately.

Re: Problem with new arm mircoprocessor

Posted: Wed Jun 16, 2021 6:45 pm
by fredd90
Okay thanks for quick reply, just curious if it could work without st-link. have a package with a stlink in it that comes on Friday but i want to test it now immediately =)

do you think my theory with encoder fault may have arisen from broken inputs on the arm processor? I had a nice square wave in to ARM. Replace the micro-controller because i took it for granted that the inputs were dead, probably because I had welded the frame at the same time as the engine was in the car unfortunately.


I managed to get a new microprocessor even though they were out of stock everywhere.

But when i got hold of my new st-link there should be a piece of cake?

Just flash with stm32_loader.hex then stm32_sine.hex, or do i also need stm32_bootupdater.hex?

Sorry for my novice questions :)

Re: Problem with new arm mircoprocessor

Posted: Thu Jun 17, 2021 5:30 pm
by johu
Just the first two.

I have killed just ONE input with overvoltage while the remaining controller still worked fine, so seems possible.

Re: Problem with new arm mircoprocessor

Posted: Tue Aug 10, 2021 11:25 am
by EV_Builder
johu wrote: Thu Jun 17, 2021 5:30 pm Just the first two.

I have killed just ONE input with overvoltage while the remaining controller still worked fine, so seems possible.
Can you elaborate on this?
Because i dont have it so clear either. There is flash program but if you open the bootloader it also wants to write to 0x80xxxx but the main program also flashes to 0x80xxxx so does it still make sense then?

Or is there maybe a youtube you made/know off?

Re: Problem with new arm mircoprocessor

Posted: Mon Oct 04, 2021 9:51 pm
by EV_Builder
johu?

Re: Problem with new arm mircoprocessor

Posted: Tue Oct 05, 2021 8:43 am
by johu
Whats the question?

Re: Problem with new arm mircoprocessor

Posted: Thu Oct 07, 2021 9:31 am
by EV_Builder
The question is about the process to get the bootloader working with the ESP wifi dongle on a new chip.
What to load for the 103 or 107 chip?