Hello! This is Albert, from Barcelona.
I'm working in a company's project using the C8051F912 IC.
The company provided the F8051F912DK development kit, used successfully to develop all the project. After that they have prepared a prototype using the C8051F901-D-GM and all the needed components under my specifications.
I have been using the prototype to test every HW part and running small FW tests (being monitored with LED's). But everything starts going wrong, on the prototype (D-GM version), when accessing the Flash I run the Page Erase, and also when accessing the XBR1 Port I/O Crossbar Register.
The errors affect mainly on the Ports output as well as on the Flash writing process which is not successfully carried.
Have you experienced any similar troubles? Or do you have any hint maybe?
Hi. From a quick review:
C8051F912 = 16k flash (was used on your development kit)
C8051F901 = 8k flash (your prototype)
How large is your compiled code? Will the code fit inside the 8k flash?
For your flash erase - your custom code or using Silabs tools?
mon2, Thank you so much for you answer.
After some small modifications it started working when I changed the memory adress I had reserved, which was out of D-GM availability.
extern unsigned int code myaddr _at_ 0x1F01;
extern unsigned int code myaddr _at_ 0x1A01;