Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12606 Discussions

u-boot for EP2C35 running MMU cpu

Altera_Forum
Honored Contributor II
917 Views

I want to make u-boot running on my evaluation board 2C35, where I have instantiated a cpu with a MMU. 

 

I succeeded to compile it with console output on serial UART and network (91C111) support, but I am unable to write or erase the CFI flash. 

It is a S29GL128 chip with byte access, and I thought it was supported in the nios2 u-boot distri because there is already a file called 's29gl.c' in board/altera/common. 

However, I get "timeout" anytime I try to erase or write a sector. 

 

I have tried to rename s29gl.c to s29gl_byte.c and changed the word access to byte access, but here again, I still get those "timeout". 

 

Flash is at addr 0x00000000 so I have translated it to 0xC0000000, but still the same result (same at @F000 or E000...). 

 

What am I doing wrong? 

 

Thanks for any idea, 

Fred
0 Kudos
0 Replies
Reply