도와주세요!!
글 수 15,339
2003.06.16 10:46:46 (*.58.246.98)
6669
28F128J3 하나를 추가장착후 캐패시터와 저항을 모두 달았습니다.
플래시를 인식하는지 확인하기 위해서 부트로더를 수정하였습니다.
(부트로더는 플래시 구조체를 하나더 선언하여서 사용하였습니다.)
문제는 플래시 ID는 0x08000000번지에서 정확히 읽어 오는데
지우기를 하기위해 status를 읽어 오면 그 값이 FF입니다.
질문: 플래시 추가장착후 ID코드는 읽어오는데 status 레지스터를 읽지 못하며
지우기가 되지 않는 이유는 무엇인가요?
밑의 내용은 디버깅 메세지를 캡쳐 해봤습니다.
WELCOME EZBOOT Ver 2.2.............................
Program By You Young-chang, fooji ( J.D&T Co.,Ltd )
Last Modify 2002.10.10
Supporting 2nd Flash by Kwon
Edited 1flash detecting at 00000000
Manu code is 89
nCS0:flash(flash id:18) detected at 00000000
flash locked at 00000000
flash detecting at 08000000
Manu code is 89
nCS1:flash(flash id:18) detected at 08000000
flash locked at 08000000
Flash Information:
'Intel 3V StrataFlash 28F128J3A' detected at 00000000.
Total size is 16MB(128Mb * 1)
CS8900 Init...............
CS8900 Mac Address : [00 D0 CA F2 26 25]
CS8900 DECTECT VALUE : [00003000]
CS8900 INIT OK!!!
Quickly Autoboot [ENTER] / Goto BOOT-MENU press [space bar]
EZBOOT>fe 0x08000000 0x09000000
nCS1 is seleceted
Base is 0x08000000, offset is 0x00000000
Erasing from 0x08000000 to 0x09000000
attempting erasing at 0x08000000Status regidter is readed from
0x08000000 : 0xFF
FF
Erase Fail
EZBOOT>fe 0x00500000 0x01000000
nCS0 is selected
Base is 0x00000000, offset is 0x00500000
Erasing from 0x00500000 to 0x01000000
attempting erasing at 0x00500000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00520000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00540000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00560000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00580000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x005A0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x005C0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x005E0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00600000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00620000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00640000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00660000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00680000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x006A0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x006C0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x006E0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00700000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00720000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00740000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00760000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00780000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x007A0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x007C0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x007E0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00800000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00820000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00840000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00860000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00880000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x008A0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x008C0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x008E0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00900000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00920000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00940000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00960000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00980000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x009A0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x009C0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x009E0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00A00000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00A20000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00A40000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00A60000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00A80000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00AA0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00AC0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00AE0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00B00000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00B20000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00B40000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00B60000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00B80000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00BA0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00BC0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00BE0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00C00000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00C20000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00C40000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00C60000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00C80000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00CA0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00CC0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00CE0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00D00000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00D20000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00D40000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00D60000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00D80000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00DA0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00DC0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00DE0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00E00000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00E20000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00E40000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00E60000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00E80000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00EA0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00EC0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00EE0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00F00000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00F20000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00F40000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00F60000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00F80000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00FA0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00FC0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00FE0000Status regidter is readed from
0x00000000 : 0x80
Erase success from 0x00500000 to 0x01000000
EZBOOT>
플래시를 인식하는지 확인하기 위해서 부트로더를 수정하였습니다.
(부트로더는 플래시 구조체를 하나더 선언하여서 사용하였습니다.)
문제는 플래시 ID는 0x08000000번지에서 정확히 읽어 오는데
지우기를 하기위해 status를 읽어 오면 그 값이 FF입니다.
질문: 플래시 추가장착후 ID코드는 읽어오는데 status 레지스터를 읽지 못하며
지우기가 되지 않는 이유는 무엇인가요?
밑의 내용은 디버깅 메세지를 캡쳐 해봤습니다.
WELCOME EZBOOT Ver 2.2.............................
Program By You Young-chang, fooji ( J.D&T Co.,Ltd )
Last Modify 2002.10.10
Supporting 2nd Flash by Kwon
Edited 1flash detecting at 00000000
Manu code is 89
nCS0:flash(flash id:18) detected at 00000000
flash locked at 00000000
flash detecting at 08000000
Manu code is 89
nCS1:flash(flash id:18) detected at 08000000
flash locked at 08000000
Flash Information:
'Intel 3V StrataFlash 28F128J3A' detected at 00000000.
Total size is 16MB(128Mb * 1)
CS8900 Init...............
CS8900 Mac Address : [00 D0 CA F2 26 25]
CS8900 DECTECT VALUE : [00003000]
CS8900 INIT OK!!!
Quickly Autoboot [ENTER] / Goto BOOT-MENU press [space bar]
EZBOOT>fe 0x08000000 0x09000000
nCS1 is seleceted
Base is 0x08000000, offset is 0x00000000
Erasing from 0x08000000 to 0x09000000
attempting erasing at 0x08000000Status regidter is readed from
0x08000000 : 0xFF
FF
Erase Fail
EZBOOT>fe 0x00500000 0x01000000
nCS0 is selected
Base is 0x00000000, offset is 0x00500000
Erasing from 0x00500000 to 0x01000000
attempting erasing at 0x00500000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00520000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00540000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00560000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00580000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x005A0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x005C0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x005E0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00600000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00620000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00640000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00660000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00680000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x006A0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x006C0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x006E0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00700000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00720000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00740000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00760000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00780000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x007A0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x007C0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x007E0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00800000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00820000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00840000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00860000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00880000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x008A0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x008C0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x008E0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00900000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00920000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00940000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00960000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00980000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x009A0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x009C0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x009E0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00A00000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00A20000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00A40000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00A60000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00A80000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00AA0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00AC0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00AE0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00B00000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00B20000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00B40000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00B60000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00B80000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00BA0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00BC0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00BE0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00C00000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00C20000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00C40000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00C60000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00C80000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00CA0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00CC0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00CE0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00D00000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00D20000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00D40000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00D60000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00D80000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00DA0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00DC0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00DE0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00E00000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00E20000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00E40000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00E60000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00E80000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00EA0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00EC0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00EE0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00F00000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00F20000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00F40000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00F60000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00F80000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00FA0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00FC0000Status regidter is readed from
0x00000000 : 0x80
attempting erasing at 0x00FE0000Status regidter is readed from
0x00000000 : 0x80
Erase success from 0x00500000 to 0x01000000
EZBOOT>