Comments (7)
I have made some progress. On viewing my listing file, I see that the boot_entry function binary exceeds the 256 byte limit reserved for it. On raising this limit to 512 bytes, it seems to link, I have a feeling though that I am missing something due to the CRC etc.
from usb-sniffer-lite.
What version of the compiler is used? The function must fit into the 256 byte block, this is all ROM code loads. I'm not sure why it is so big in your case.
Address 0x10000000 is where RP2040 flash is located.
from usb-sniffer-lite.
Hi, I am using a version bundled with Embedded Studio. Which version should I ideally be using?
from usb-sniffer-lite.
Anything recent should work. Are you using the provided Makefile or some newly created project? If later, then make sure to set optimization settings as in the supplied Makefile.
from usb-sniffer-lite.
I will try using a newer version and post my results here. Please keep this open till then. I did not understand the purpose of the CRC at the end of the first 256 bytes. Can you explain what that is about? Do you use a debug probe in your setup by chance? Ideally I would like to use a JLink to step through my Pico project. I think that should be possible.
from usb-sniffer-lite.
This is a requirement for the RP2040 boot. You need to run bin2uf tool on the compiled binary to place the correct CRC in that location. Default makefile does this, but if you are making a custom project, then you need to take care of that.
No, I don't use debuggers.
from usb-sniffer-lite.
Hi, with a newer gcc, it compiles correctly. Thanks.
from usb-sniffer-lite.
Related Issues (7)
- HOW is boot crc converted from 0xcccccccc to something the boot ROM accepts? HOT 2
- When I connect both the D+ and D- wires to the board, the connection between the testing Cool Disk with the computer is lost! HOT 9
- Nice, it would be interesting to add other protocols - Alternative for the Saleae Logic Analyzer HOT 1
- Synchronization issue HOT 4
- Pokken Tournament DX Controller Spewing Errors HOT 2
- Here is an udev rule HOT 1
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 usb-sniffer-lite.