Once again I'm testing Rowley Crossworks for ARM (Interested on Personal License). Before diving into my question I must state that I'm using Crossworks for ARM with a non-supported board (Bambino 210E from Micromint USA) so, I want to make clear is not my intention to abuse or use Rowley's support as use as board bring-up engineers and if that's the case please ignore/delete this request.
My Bambino 210E dev board comes with an LPC4330 so I used the wizard for NXP LPC4330 executable while creating a new project, by default the project is setup to run from RAM and it works quite well, but when I try to configure the project to run from SPIFI it just won't work.
Now from previous experience when I was testing crossworks with an LPC Link 2 as target I know that the microcontroller needs to be configured to boot in DFU mode otherwise I will get the "Loader is not a LIBMEM RPC loader"error, so my bambino board is setup accordingly (LPC BASED USB DEVICE appears in device manager with no error or exclamation signs). I'm also using the SPIFI_Loader.elf from the LPC4330 Explorer board pack in the "loader file path" property of my project and defined "SPIFI_SIZE=0x400000 SPIFI_CM0_SIZE=0x200000" (Bambino 210E comes with 8M QSPIFI chip from Winbond), then set "section placement from RAM to SPIFI.
With the setup described above I got the error "loader error: spifi_init failed", this error suggest that my project might be missing some parameter but after consulting the crosswork help I found nothing, in fact help entries for the LPC Link 2 and LPC4330 support packages says that in order to run from spifi I only need to "set SPIFI placement" in the project properties.
I'm lost at this point and tried the normal suggestion as per forum: debug adapter speed reduction (normally using 1000000Hz but also tried down to 1000Hz), heap and stack size encrease (up to 1024)
Debug Adapter: LPC Link 2 with J-Link firmware in JTAG mode (tried with CMSIS-DAP firmware as well)
Hope you can point me in the right direction
Tanks in advance
Please sign in to leave a comment.