SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By X-death
#186678
Hi All,

I request your help because i have a question.
I have made a custom board with an Altera CPLD inside ( EPM3032).
My board have a JTAG connector directly connected to TDI TDO TCK TMS of CPDL pinout.

According to the OpenOCD documentation BCM2835 is supported so :
Can i use my Raspberry Pi for sending a new pof file into the CPLD ?
did i need additionnal components ( shield ? ) or i can directly connect Jtag Raspberry Pi to my board ?

Thanks in advance
By X-death
#187704
Hi,
Just an UP about this topic.
Actually i can sucessfully program an Altera CPLD EPM3032 with openocd and my cheap USB Blaster clone ( thanks to the new driver).
Average time is 10s for a 260Ko svf file.

I have a question , i want to made some script for make life easier.

here is my script with open the telnet session into a new lxterminal window
Code: Select all
cp prog.svf /home/pi/openocd-git/src/ 
echo "Démarrage de OpenOCD..."
lxterminal  -e ./Flash_CPLD.bash
sleep 2
echo "Ouverture d'une nouvelle session Telnet..."
lxterminal -e netcat localhost 4444 
pause
I search a way for include the svf command into my script like

svf nameofsvffile.svf

Thanks