Skip to content

Instantly share code, notes, and snippets.

@yottatsa
Created October 2, 2022 22:12
Show Gist options
  • Save yottatsa/37ff406bf9673b373635633120d18b48 to your computer and use it in GitHub Desktop.
Save yottatsa/37ff406bf9673b373635633120d18b48 to your computer and use it in GitHub Desktop.
programming Altera Max II
% openocd --file .//share/openocd/scripts/interface/altera-usb-blaster.cfg -c "jtag newtap epm240 tap -expected-id 0x020a10dd -irlen 10" -c "init" -c "scan_chain" -c "svf -tap epm240.tap /Users/yottatsa/vga.pof progress" -c "shutdown"
Open On-Chip Debugger 0.11.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
Info : usb blaster interface using libftdi
Info : This adapter doesn't support configurable speed
Info : JTAG tap: epm240.tap tap/device found: 0x020a10dd (mfg: 0x06e (Altera), part: 0x20a1, ver: 0x0)
Warn : gdb services need one or more targets defined
TapName Enabled IdCode Expected IrLen IrCap IrMask
-- ------------------- -------- ---------- ---------- ----- ----- ------
0 epm240.tap Y 0x020a10dd 0x020a10dd 10 0x01 0x03
svf processing file: "/Users/yottatsa/vga.pof"
Time used: 0m0s1ms
svf file programmed successfully for 0 commands with 0 errors
shutdown command invoked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment