Other Parts Discussed in Thread: TEST
My customer has only parallel nor on the custom board, is it now supported on the RTOS SDK?
And is there a parallel nor flash debug example or method steps?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Thanks for your reply
The EVM I use is AM3359 ICE, it have parallel NOR flash on board
The question I want to ask is whether we have a corresponding demo or how we should do to burn and write on the nor flash
Did you mean the following macro?
#if defined (ICEV2_AM335X) #define BOARD_FLASH_ID BOARD_FLASH_ID_MT29W160EB
I think that is okay, because BOARD_FLASH_ID_MT29W160EB is defined in board\src\flash\include\board_flash.h:
#define BOARD_FLASH_ID_MT29W160EB (0x2249U) /**< Micron 2MB NOR flash */
And it matches the device id defined in board\src\flash\nor\device\m29w160eb.h:
#define NOR_DEVICE_ID (0x2249U) /* Device ID */
I figured out why the test failed. The default pinmux for AM335x ICE v2 in the PDK is not for parallel NOR flash. Below is what I did to make GPMC_Test_icev2AM335x_armTestProject work:
1. Update pinumx file:
2. Rebuild board library:
static pinmuxPerCfg_t gGpmc0PinCfg =
// Replace the content with what's in the updated pinmux data file - am335x_pinmux_data.c
C:\ti\pdk_am335x_1_0_17\packages\ti\board>gmake LIMIT_SOCS=am335x LIMIT_BOARDS=icev2AM335x
3. Add the following line to main_gpmc_flash_test.c of GPMC_Test_icev2AM335x_armTestProject:
4. Rebuild the project and ran the test.
Below is what I got after running the code.
This validates the GPMC NOR flashing code works properly. So your customer can write their own flash writer based on this example.