ΣSigmaStudio Ask AI Русский Log in

Export System Filesissue

SigmaDSP & SigmaStudio BobWalker May 3, 2011 00:00 2 replies Original on forum ↗
Subscribe
BobWalker Question
May 3, 2011 00:00

When exporting System Files, the program data in the <project>_IC1.h file is 2 bytes shorter than that of the TxBuffer_IC1.dat file

/* DSP Program Data */
#define PROGRAM_SIZE 290
#define PROGRAM_ADDR 2048
ADI_REG_TYPE Program_Data[PROGRAM_SIZE] = {

NumBytes.dat:

.......

3,
4,
292, <---------
46,
3,
3,

.........

There are 2 extra bytes of 0x00, 0x00 in TxBuffer_IC1.dat. I'm not sure if this will cause a problem, however I thought I'd report it anyway.

My function that uses data from TxBuffer.dat and NumBytes.dat is failing, whereas the default_download() function works.

I am memory limited here - default_download() is 600 bytes vs. 98 bytes for my function.

292

BobWalker Reply
May 5, 2011 00:00

Nevermind.

As it turns out, the following 2 data bytes are the Data Ram address. The 2 byte difference between the size in NumBytes.dat and the size in the xx_IC1.h file is due to the addition of the 2 address bytes in NumBytes.dat.

Ignore this.

EZAdministrator Reply
Apr 29, 2019 00:00

This question has been closed by the EZ team and is assumed answered.