arm 920 / integrator interrupts / flash / misc
Hi, I am in the process of getting my integrator/AP board working with u-boot. It's working as far as the following fetures go:
* flinfo
* protect
* mtest
* md, mw, nm
I was trying to see if I could write the environment to flash, and have it properly configured as to the type of flash, and the correct sector sizes. However, the system seems to lock up completly when writing. the debug output is below:
Integrator # saveenv
Saving Environment to Flash...
Protect off 24040000 ... 2405FFFF
Un-Protected 1 sectors
Erasing Flash...Erasing sector 5/ 5 ...
It gets as far as the statment (int board/integrator/flash.c:flash_erase()
MEM_FLASH_ADDR1 = CMD_UNLOCK1;
...
Does the above issue also correspond to my inablity to send files via kermit / srec over the serial line? When I try and send a file, the system just hangs. I have not yet looked into this issue yet, but comments would be appreciated.
Another issue is that I am wondering if my interrupt timer /counter is working correctly. How might I check this out to see how long exactly the counter runs for to get the correct count / Hz?
Thanks!
- Paul
Signature · 1 line
PGP key - http://queda.net/paulmcav-gpg.txt
Quoted 3 lines · In message <[email protected]> you wrote:
Does the above issue also correspond to my inablity to send files via kermit / srec over the serial line? When I try and send a file, the system just hangs.
Do _you_ see any relation? if not, how should we?
Quoted 1 line
I have not yet looked into this issue yet, but comments would be appreciated.
Argh... Do not skip problems. Always solve them step by step. Do not continue when you have a system with a problem that you don't understand. Usually you will just waste even more time.
Quoted 3 lines
Another issue is that I am wondering if my interrupt timer /counter is working correctly. How might I check this out to see how long exactly the counter runs for to get the correct count / Hz?
How long does a "sleep 10" take? If it's significantly less or more than 10 seconds you might have a certain problem.
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de "At least they're __________EXPERIENCED incompetents"