Comments (2)
Yes, you should see "Hello, world!" printed onto the console on the telnet port if this program works.
As for the "SECTOR ERASE FAILED" message, I've chased it down some. The issue appears to be that the flash isn't setting the status register properly to indicate that the flash is busy. Hence, the controller checks the results of the (still in progress) erase, reads that the erase is no longer busy (when it is), and then starts to read from memory--getting a bad result. When you read from the flash later, once the flash has finished erasing the memory, then the zipload program sees that the erase is no longer needed and then successfully programs the flash.
Given that the flash isn't returning the right value, I'm not yet certain how to "break the protocol" to fix things. Perhaps reading the status register twice?
Next, you will also need to rebuild the hello.c program since I adjusted the board linkscript that it depends on. That and your problem may be the SDRAM, so let's make sure that the memtest passes first. Based upon your other issue, it isn't.
from arrowzip.
Now working after fixing SDRAM. 👍
from arrowzip.
Related Issues (11)
- great project HOT 7
- Support for CYC1000 HOT 5
- [Enforcement] Variable defined before used in hbconsole.v. HOT 2
- Error (12006): Node instance "dspi_ddr_csn" instantiates undefined entity "altoddr". HOT 9
- Where to continue? HOT 10
- RTC working ? HOT 12
- output of memtest HOT 5
- Flash erase not recognizing finished erase HOT 6
- dumpflash not working HOT 6
- Great article HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arrowzip.