This is a very technical question, but probably someone has a pointer for me. I'm working on the hardware port of wp34s, i. e. the flashing of the Atmel AT91SAM7L128 in the HP 20b. We (Pauli, Walter & me) are doing all our work with open source tools (except the Windows emulator which requires Visual Studio 2010 because of its MFC dependency).
One of the tools is OpenOCD, a software suite that supports on chip debugging with low cost JTAG probes. In my csae, it's an Olimex ARM-OCD. The problem I'm facing is that the ATM91SAM7L128 chip is not directly supported. I've had mixed success so far. The software detects my HP20b and I can submit commands like clock setup or flash erase. What I'm unable to do so far is programming the flash through OpenOCD. The pages are written with 00000008 and an error (protection bit set) is returned.
Is anybody here who has some experience with OpenOCD and the AT91SAM7L128 chip and can help me?