MCF5307 and 16bit flash

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MCF5307 and 16bit flash

跳至解决方案
1,687 次查看
angelo_d
Senior Contributor I

Hello all,

 

i am booting colilo from a a 16 bit flash. Code is run correctly, but texts are printed out from the serial uncorrectly, due to the 16-bit word addressing mode:

 

Hello world is printed as HHeelloo  ..  

 

This becouse char* increment don't point to the next byte but to the same word.

 

Every help is really appreciated.

 

spectrum

标签 (1)
0 项奖励
回复
1 解答
986 次查看
angelo_d
Senior Contributor I

Hello all,

 

mm, i finally clarified the mistery: it is related to the flash 2Mx16 SST 29VF3201B i have chosed.

 

Unfortunately, even if the pinout is exactly as a correspondent size AMD x16 flash, i discovered that SST flash don't suport the x8 mode, or better, don't have the BYTE# signal on pin 47, but it is a NC.

 

I choosed SST for good pricing, and would avoid to replace it, so i am going to try to modify the colilo bootloader to copy rodata to rom.

Anyway this is just a beginner erro i guess :smileyhappy:

 

 

Hope this can help soem other,

 

greetings,

angelo

在原帖中查看解决方案

0 项奖励
回复
1 回复
987 次查看
angelo_d
Senior Contributor I

Hello all,

 

mm, i finally clarified the mistery: it is related to the flash 2Mx16 SST 29VF3201B i have chosed.

 

Unfortunately, even if the pinout is exactly as a correspondent size AMD x16 flash, i discovered that SST flash don't suport the x8 mode, or better, don't have the BYTE# signal on pin 47, but it is a NC.

 

I choosed SST for good pricing, and would avoid to replace it, so i am going to try to modify the colilo bootloader to copy rodata to rom.

Anyway this is just a beginner erro i guess :smileyhappy:

 

 

Hope this can help soem other,

 

greetings,

angelo

0 项奖励
回复