Error running bootloader host source

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

Hi,

I am trying to compile and run the UART Bootloader Host source in Visual Studio 2017.

The source compiles ok and runs but when I select the "Bootload" button I get the following error in the "backgroundWork_DoWork()" routine...

System.BadImageFormatException: 'An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)'

The pre-compiled exe runs fine but I cannot run it from source

2 Replies
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello,

We have not tested the Bootloader Host with the latest version of Visual Studio.

Thanks,

Hima

0 Likes

Any updates to this?  How can we make a bootloader for modern OS?

0 Likes