Unable to program the external serial flash by IDE

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

cross mob
Anonymous
Not applicable

Hi all,

I am working on WiCED SDK 3.3.1. My board equipped with STM32F417 + BCM43341, but no FT2232. I was using an external debugger (JLINK) to program the WiCED bootloader, DCT, and APP BIN files into STM32's internal flash. It works well so far. However, in OTA app, I need to program the external SPI flash (MX25L1606E, 2MB) by WiCED SDK IDE. When I building my target with "download download_apps run", the IDE console displays OpenOCD error message below.

Downloading Bootloader ...

Building apps lookup table

"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"

Downloading DCT ...

"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"

Downloading Application ...

"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"

Downloading apps lookup table at 0x0000...

tools/makefiles/wiced_apps.mk:143: recipe for target 'APPS_LUT_DOWNLOAD' failed

make.exe[1]: *** [APPS_LUT_DOWNLOAD] Error 1

Makefile:190: recipe for target 'main_app' failed

make: *** [main_app] Error 2

Is there any hint for me to solve the OpenOCD problem? Or, is any other way to program the external flash by JLINK debugger?

Regards,

Clark

0 Likes
2 Replies
Anonymous
Not applicable

Hi Clark,

Its a known Issue with the hardware we will get back to you once it is addressed.

Thanks,

RJ

0 Likes
Anonymous
Not applicable

I am using a similar but 16MB flash from Macronix MX25L1606E.

Is there a problem with this specific flash type from Macronix? Can you confirm what are the fixes if any?

0 Likes