你好,
我试图编译并运行VisualStudio 2017中的UART引导加载程序宿主源代码。
源编译OK并运行,但当我选择“BooToLoad”按钮时,我会在“BeaBoeWorkDoOrk())例程中得到以下错误…
Simult.BaDimaGrimeAtExtExchange:“尝试加载一个格式不正确的程序。(来自HESREST:0x800 7000 0B)
预编译的EXE运行良好,但我无法从源代码运行它。
以上来自于百度翻译
以下为原文
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()" rou
tine...
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