Comments (11)
I've just got it working witn --disable-double-buffering
option.
[UPD] flashing process done but fails to run, core halted
from probe-rs.
Maybe we have incorrect memory regions for this chip, too. Do you have a datasheet for it?
from probe-rs.
yes, datasheet and reference manual are avaliable here
(registration not required)
from probe-rs.
from probe-rs.
Here are values for flash_properties struct:
from probe-rs.
Looks like AT32F4_Series.yaml
wasn't changed between 0.23 and 0.24 versions of probe-rs
from probe-rs.
THe problem is that these chips have user-configurable memory layouts. This issue must have started happening when we moved the flash algorithm stack to the end of memory. This can probably be fixed if we limit the stack size these devices use for flashing.
from probe-rs.
I think this issue can be solved by specifying data_load_address
for these targets. The reason: we place data at the end of the memory, but we don't know if we can actually use that memory. However, we place the stack before the memory, so if the target forces data_load_address
inside the first 128K, everything should be placed in the first 128K which should be safe RAM.
from probe-rs.
As I don't have one of these devices, please test #2561 for me.
from probe-rs.
Thanks for your help on this issue!
I've tested your fork with AT32F437VMT7 and it does indeed fix the flash programming issue.
from probe-rs.
Is IRAM1 range used for anything other than default data_load_address
calculation?
In yaml file the maximum possible RAM range is specified, but not default one, and there is a high probability for mismatch of range.end of IRAM1
and actual end of RAM on MCU. For example, AT32F437 is marketed to have 512kB of RAM, but it is true when you manually reprogram user system data to select this mode. Default mode used in most cases includes only 384KB of RAM making accesses beyond that incorrect.
from probe-rs.
Related Issues (20)
- Inaccurate or outdated documentation? HOT 3
- RP2040 Failed to switch to DP Multidrop HOT 1
- Using with ESP32-C3-DevKitC-02 (with soldered cable) HOT 3
- Action Required: Fix Renovate Configuration
- rtthost can only be run once before having to power cycle target HOT 3
- Getting info from debugger fails on arm64 Linux HOT 1
- Progress Bar Display glitch in terminal HOT 1
- Can't flash esp32-s3 chips with octal flash PSRAM
- Read metadata from firmware .ELF
- Flashing ESP32-S3 with external flash fails. HOT 1
- Version 0.24.0 of probe-rs-tools on crates.io fails to install HOT 4
- Flashing a progream with `cargo embed` or `probe-rs download` fails on metro_m0 HOT 1
- Feature Request: Add a way of halting the execution of a program through the CLI HOT 1
- Issue with HPM53XX Flash Algorithm HOT 3
- Compatibility with CMSIS-DAP configured Jlink HOT 10
- Cannot connect to RISC-V chip via CMSIS-DAP JTAG Protocol HOT 4
- Adding support for TI Tiva-C targets HOT 1
- Connecting to the chip was unsuccessful.: Timeout while attaching to target under reset. HOT 1
- Reading returns the first written value over and over HOT 3
- WARN probe_rs::architecture::arm::core::armv7m: Core is running, but we expected it to be halted 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 probe-rs.