On Wed, Apr 13, 2011 at 9:24 PM, Spencer Oliver <[email protected]> wrote:
> On 13/04/2011 13:46, Xiaofan Chen wrote:
>>
>> I just got an Altera Max II development board and tried to
>> use it with OpenOCD. It does not seem to work.
>>
>> Take note I do not know much about CPLD now.
>>
>> cuee@ubuntu64:~/Desktop/build/openocd/max2$ cat max2.cfg
>> #simple device - just configure a tap
>> jtag newtap xcr tap -irlen 5 -ircapture 0x01 -irmask 0x1f -expected-id
>>  0x020A30DD
>>
>
> irlen needs to be 10 - leave the other params out for the moment.
>

Thanks. That helps. But there are still errors.

mcuee@ubuntu64:~/Desktop/build/openocd/max2$ cat max2.cfg
#simple device - just configure a tap
jtag newtap xcr tap -irlen 10

mcuee@ubuntu64:~/Desktop/build/openocd/max2$ openocd -f
altera-usb-blaster.cfg -f max2.cfg
Open On-Chip Debugger 0.5.0-dev-00847-g08303f1 (2011-04-13-18:25)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
Warn : Adapter driver 'usb_blaster' did not declare which transports
it allows; assuming legacy JTAG-only
Info : only one transport option; autoselect 'jtag'
3000 kHz
Error: Translation from khz to jtag_speed not implemented
Error: Translation from khz to jtag_speed not implemented
Error: Translation from khz to jtag_speed not implemented
Error: Translation from jtag_speed to khz not implemented
Info : adapter-specific clock speed value 30235984
Info : JTAG tap: xcr.tap tap/device found: 0x020a30dd (mfg: 0x06e,
part: 0x20a3, ver: 0x0)
Warn : JTAG tap: xcr.tap       UNEXPECTED: 0x020a30dd (mfg: 0x06e,
part: 0x20a3, ver: 0x0)
Error: Trying to use configured scan chain anyway...
Warn : Bypassing JTAG setup events due to errors
Warn : gdb services need one or more targets defined



-- 
Xiaofan
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to