6 years ago.

Programs No Longer Flash to MAX32620HSP Board

Dear Team mbed,

I am experimenting with modifications to the HSP_RPC_GUI example code for the MAX32620HSP board. I added some serial statements to the main.cpp file so that the board can print output to a terminal and accept input from the terminal as well. These changes are on lines 260-280 of my attached main.cpp file.

I ran into a problem when I added the statement "pc.gets(str, 50);" within the main program loop. "str" is a character array with 100 elements and "pc" is a Serial object initialized with the following statement: "Serial pc(USBTX, USBRX);" The program complied and I was able to put it on the board, however I cannot download new programs to the board. It seems that the processor is hung up in some way.

Like Qiao Li found in a related question, reopening the DAPLINK folder after dropping the .bin file in it reveals a "fail.txt" in the folder. However, the file says that "the interface firmware FAILED to reset/halt the target MCU." I double checked to make sure the HSP board was on when I dropped the .bin file into the DAPLINK folder. It was.

Would you have any recommendations on how to make the board programmable again?

Thank you very much

Question relating to:

MAXREFDES100# Health Sensor Platform

I checked the connection between the MAXREFDES100HDK and the MAXREFDES100 and the connection was not totally complete. The USB-C connector could go in a little more. It works just fine now.

posted by Adam Roberts 17 Apr 2018
Be the first to answer this question.