I have read a few different topics concerning trouble of getting control over the processor if the flash contains corrupt data. Netsilicon also have an application note where they discuss how you should design your reset circuitry and what files to update to solve the problem. I have the NS7520 development board with the GNU environment. As I understand, from the schematics, they have designed that board according to the application note but I recently had problems getting control over the processor and the only solution was to disable the flash. Now to the questions: The application note tells you which files to update if you are using the GHS environment. Which files, if any, should be updated for the GNU environment in order for the problem to be solved? What is the difference of disconnecting the CS pin (which is what happens when you disable it) of the flash and a flash that has corrupt/no data? Doesn’t both cause incorrect data to be read? And the most important question, is the problem solved or not? If not, do I have to design the ability to disconnect the CS pin of the FLASH in order to program an empty flash during production, which I must say, is not a solution that a fine appealing. Since the debugger, in the new design, has the ability to reset the entire processor, shouldn’t the debugger be able to get control over the process no matter what?
>And the most important question, is the problem > solved or not? If not, do I have to design the > ability to disconnect the CS pin of the FLASH in > order to program an empty flash during production, > which I must say, is not a solution that a fine > appealing. Alternatively you could use a flash with a reset line… and privide a jumper to hold the chip in RESET. > > Since the debugger, in the new design, has the > ability to reset the entire processor, shouldn’t the > debugger be able to get control over the process no > matter what? > From what I’ve seen of startup code examples it always pays to put a delay loop doing NOPs at the reset vector to give the JTAG ICE a chance to cut in after it resets the CPU… Regards Dave