Posts

Showing posts from September, 2009

JTAG Progromming on a PIC

Programming an FPGA is a simple job if you have a JTAG interface and programmer to hand. When a product is out in the field though, it's nice to have a more 'customer friendly' method of update.... We're using Lattice XP chips. Lattice supplies the source code for an embedded programmer with their IspVM programming solution. This used ' SlimVME ' files that are compressed for a smaller footprint. Instead of using .JED files, you get 2 VME files, one 'DATA' file containing the fuse settings and a ' ALGO ' file that has the programming algorithm. You can create them either in binary form or as HEX files with .c extensions that ley you compile them directly into code (each file contains a single big initialised array) In the lattice example, you compile a version of these files in with their programming code. Obviously this leads to a large code footprint ~200K for my code....not so good on a PIC! My solution is to use the binary export option