Problem with new arm mircoprocessor  [SOLVED]

Discussion about various user interfaces such as web interface, displays and apps
Post Reply
User avatar
fredd90
Posts: 87
Joined: Tue Oct 20, 2020 7:36 pm
Been thanked: 1 time

Problem with new arm mircoprocessor

Post 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
User avatar
johu
Site Admin
Posts: 5684
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Problem with new arm mircoprocessor  [SOLVED]

Post by johu »

You'll need an ST-Link.
The ESP has an SWD feature but it didn't work for me, unfortunately.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
fredd90
Posts: 87
Joined: Tue Oct 20, 2020 7:36 pm
Been thanked: 1 time

Re: Problem with new arm mircoprocessor

Post 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 :)
User avatar
johu
Site Admin
Posts: 5684
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Problem with new arm mircoprocessor

Post by johu »

Just the first two.

I have killed just ONE input with overvoltage while the remaining controller still worked fine, so seems possible.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: Problem with new arm mircoprocessor

Post 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?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: Problem with new arm mircoprocessor

Post by EV_Builder »

johu?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
User avatar
johu
Site Admin
Posts: 5684
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Problem with new arm mircoprocessor

Post by johu »

Whats the question?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: Problem with new arm mircoprocessor

Post 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?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
Post Reply