Home/Support/Support Forum/cant increase USERBLOCK size
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

cant increase USERBLOCK size

0 votes
I need to increase the USERBLOCK size from 8k to 16K.
I am trying to run the write_idblock_rcm67xx.c sample program and get these errors:

line 1 : WARNING ERROR: No parameters found for flash id received from pilot bios - using default parameters.
line 325 : WARNING BOARDTYPES.LIB: _SERIAL_BOOT_FLASH_ should be defined - fix TCData.ini or UserBlock.
line 326 : WARNING BOARDTYPES.LIB: Invalid redefinition of macro '_SERIAL_BOOT_FLASH_'.
line 1 : WARNING ERROR: No parameters found for flash id received from pilot bios - using default parameters.
line 3010 : ERROR MALLOC.LIB : Out of xmem code space. Please refer to the Dynamic C User's Manual for more information.

And I can't seem to use this RCM6700 anymore. Is this RCM6700 bricked?

I'm afraid to try this on another RCM6700 for fear of ruining that one too and these modules are almost impossible to get until Sept 2022.
asked May 6 in Rabbit Software by ColbyInstruments New to the Community (1 point)

Please log in or register to answer this question.

2 Answers

0 votes
Did you follow these instructions from the top of the Write ID Block program? Based on your errors, it looks like you might be missing them.

To program an RCM67xx board which lacks an existing correct and valid system
ID block, add the appropriate set of the following sets of macro=value lines
to Dynamic C's Project Options' Defines tab. If Dynamic C stops the compile
because of too many invalid macro redefinition warnings, increase the
"Max Shown > Warnings:" count to 100 on the Project Options' Compiler tab.

If you select the RCM6700 in "Targetless" tab of "Project Options", can you compile the program to a binary file ("Compile/Compile to .bin file" menu option)? Make sure you can get that to work first.

You might need to enable "Separate Instruction & Data" in the Compiler Options if you continue to have xmem code space errors.
answered May 6 by TomCollins Veteran of the Digi Community (2,297 points)
0 votes
yes followed the instructions to add all macros to the compiler defines and am able to compile to .BIN but get this warning: (separate I&D is also checked)
line 1 : WARNING ERROR : Invalid redefinition of macro '_BOARD_TYPE_'.

When I try to flash the unit, I get these messages:
line 1 : WARNING ERROR : No parameters found for flash id received from pilot bios - using default parameters.
line 325 : WARNING BOARDTYPES.LIB : _SERIAL_BOOT_FLASH_ should be defined - fix TCData.ini or UserBlock.
line 326 : WARNING BOARDTYPES.LIB : Invalid redefinition of macro '_SERIAL_BOOT_FLASH_'.
line 324 : ERROR MEMORY_LAYOUT.LIB : Origin "rootcode" declared outside its parent "xmemcode" in physical ranges: [1000, c800)
answered May 9 by ColbyInstruments New to the Community (1 point)
...