Hi,
I am trying to erase nand flash using commands "sfh_omap_l38.exe -erase -flashType NAND" on the omap-l138 board.
The information output is as follows:
If there is some problem with the nand flash ?Even the nand flash is not working.
thank you
Regards
I don't know if this will help you as I am new to the OMAP-L138, but using the targetType worked for me. For example, I used -targetType OMAPL138_LCDK on my LCDK board. Maybe adding the appropriate targetType for your project will work.
good luck
--dave
Hi Dave
It is not the answer, because the default is OMAPL138,but thank you very.
switch (cmdParams.CMDMagicFlag) {
case MagicFlags.UBL_MAGIC_ERASE:
{
status = TransmitErase(); break; }
}
if (!status)
Console.Write("\nCommand failed\n"); return;
private static Boolean TransmitErase() { string a1; uint flashSize; try { // Receive size of flash to be erased. // First get keyword SIZE followed by the number of bytes
if (!SerialIO.waitForSequence(" SIZE\0", " FAIL\0", MySP, cmdParams.verbose)) { return false; }
......
into the source code and found the error, but could not find cause of the error.
I do not know the reasons of software or hardware.
What is the version of the flashing tools you are using and is this a custom hardware or the OMAPL138 EVM
Regards,
Rahul
---------------------------------------------------------------------------------Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------
Rahul,what i use of version is 1.67
Hi Feng,
I am not quite sure why you are seeing this error message. Can you connect to the device using an emulator? If yes, you might be better served to use the NAND writer CCS project provided in the FLash and boot uitlities package. Using that code you will be able to single step through the flashing process and will know exactly where code stopped executing.