06-04-2021 09:16 AM - edited 06-04-2021 09:17 AM
Hi,
I am getting an error 34 in a vi that erases the internal memory on an MCU before flashing the firmware. This code has been working for me for a couple of years, and can not find the cause.
I have attached the vi, and a screenshot with inputs & outputs.
Any thoughts would be greatly appreciated!
Thanks,
George
Solved! Go to Solution.
06-04-2021 09:26 AM
34 is very likely the error code (errorlevel) returned by UsbdmFlashProgrammer.exe which is not a LabVIEW program.
So, don't convert it to a LabVIEW error, it's by no means related. Read the flash programmer documentation to search the meaning of the returned error code.
06-04-2021 10:22 AM
Hi Paolo,
Ahh that makes sense. Was converting to LV error just so it could travel through my app & get to error log with the rest of the LV errors. I thought the error was more likely a Windows error but will check the documentation for the programmer I see what I can find.
Thanks for the suggestion!
George
06-04-2021 10:26 AM
From here: http://usbdm.sourceforge.net/USBDM_V4.12/USBDM_JB16/html/_u_s_b_d_m___error_messages_8h.html
error code 34 = BDM_RC_WRONG_BDM_REVISION
06-04-2021 10:33 AM
Hi Rolf,
You beat me to that page by a minute or 2!
Thanks to you both for steering me in the right direction!
George