Altera_Forum
Honored Contributor
14 years agoinitializing ram with hex file
Hi,
I am using Quartus/DSPBuilder 9.0 Matlab/Simulink 7.5 (aka R2010a) Vista Home DE2 Cyclone II kit I am having trouble initializing RAM with Intel hex files. I warnings like the following: Critical Warning: Can't read Memory Initialization File or Hexadecimal (Intel-Format) File simpleTest.hex -- setting all initial values to 0 However, I know the application can access this file, since if I deliberately put some bogus data in the file, I get errors (as expected) such as: Error: Data size does not match the number of bytes at line 4 in Hexadecimal (Intel-Format) File "simpleTest.hex" File: simpleTest.hex Line: 4 If the file was misplaced or innaccessible, I wouldn't get that error. I have tried local files in the same directory as well as absolute and relative paths to files in other directories. Always get the same warning. I have also tried moving the file to various places (in the same folder as my mdl, subfolders, far away, etc). No luck. Any suggestions? Thanks.