Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

OMAP-L138_FlashAndBootUtils_2_40\OMAP-L138\CCS\NANDWriter doesnt work

$
0
0

i have got the flash problem when using the "OMAP-L138_FlashAndBootUtils_2_40\OMAP-L138\CCS\NANDWriter";
soc :AM1808
ccs6.01

first using the raw NANDWriter prject ,load the NANDWriter_ARM.out ,but it didnt work

then i made some changes of the NANDWriter prject,accordiong to my borad i configured "OMAP-L138_FlashAndBootUtils_2_40\OMAP-L138\CCS\NANDWriter" as this:

1. using"#define NANDWIDTH_8"
2.add "#define AM1808"
3.pinmux configuration:
" DEVICE_pinmuxControl(7 ,0x00FF0FF0,0x00110110); // EMA_WAIT[0], nEMA_WE, nEMA_OE, nEMA_CS[2], nEMA_CS[3],
DEVICE_pinmuxControl(9 ,0xFFFFFFFF,0x11111111); // EMA_D[7:0]
DEVICE_pinmuxControl(12,0x0FF00000,0x01100000); // EMA_A[2,1]"
4. fixed :"LOCAL_flashWaitForRdy(hNandInfo, 8096)"; //to made it wait longer

the app stop at :"NAND_open->NAND_reset->LOCAL_flashWaitForRdy(hNandInfo, 8096)-> 
->status = (*(hNandInfo->hAsyncMemInfo->hDeviceInfo->fxnNandIsReadyPin))(hNandInfo->hAsyncMemInfo);"
and never get out of the while loop;

console display:
[ARM9_0]Starting AM1808 NANDWriter.


Viewing all articles
Browse latest Browse all 17527


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>