Giter Site home page Giter Site logo

Comments (4)

burrbull avatar burrbull commented on June 25, 2024 1

probe-rs should already support U5A5. See #1744 Try git version:

cargo install probe-rs --features cli --git https://github.com/probe-rs/probe-rs

from probe-rs.

jerabaul29 avatar jerabaul29 commented on June 25, 2024

A smart comment by @gauteh : for now I get, using a "close family" chip kind instead of the "true correct" STM32U5A5:

kzm@kzm-bpq:~/Desktop/Git/embassy/examples/stm32u5/src/bin$ cargo run --bin blinky --release
    Finished release [optimized + debuginfo] target(s) in 0.16s
     Running `probe-rs run --chip STM32U585AIIx /home/kzm/Desktop/Git/embassy/examples/stm32u5/target/thumbv8m.main-none-eabihf/release/blinky`
     Erasing sectors ✔ [00:00:00] [##################################################################################################################################] 24.00 KiB/24.00 KiB @ 271.88 KiB/s (eta 0s )
 Programming pages   ✔ [00:00:00] [###################################################################################################################################] 20.00 KiB/20.00 KiB @ 34.74 KiB/s (eta 0s )    Finished in 0.69s
Error: This capability has not yet been implemented for this architecture: vector catch

Can this mean that the program actually gets flashed and executed, and "only" the debugging is missing? I should check later today!

from probe-rs.

jerabaul29 avatar jerabaul29 commented on June 25, 2024

Many thanks @burrbull for the help! I just installed as you indicated, and I can indeed see the boards in the list now :)

probe-rs chip list | grep STM32U5A5
        STM32U5A5AJHx
        STM32U5A5AJHxQ
        STM32U5A5QJIx
        STM32U5A5QJIxQ
        STM32U5A5RJTx
        STM32U5A5RJTxQ
        STM32U5A5VJTx
        STM32U5A5VJTxQ
        STM32U5A5ZJTx
        STM32U5A5ZJTxQ
        STM32U5A5ZJYxQ

I don't have the board available just now, will test program upload tonight :) .

from probe-rs.

jerabaul29 avatar jerabaul29 commented on June 25, 2024

Many thanks for your help, this does work fine now :)

kzm@kzm-bpq:~/Desktop/Git/embassy/examples/stm32u5/src/bin$ cargo run --bin blinky --release
    Finished release [optimized + debuginfo] target(s) in 0.14s
     Running `probe-rs run --chip STM32U585AIIx /home/kzm/Desktop/Git/embassy/examples/stm32u5/target/thum
bv8m.main-none-eabihf/release/blinky`
     Erasing sectors ✔ [00:00:00] [#########################] 24.00 KiB/24.00 KiB @ 301.78 KiB/s (eta 0s )
 Programming pages   ✔ [00:00:00] [##########################] 20.00 KiB/20.00 KiB @ 36.86 KiB/s (eta 0s )
    Finished in 0.641s
0.000000 DEBUG rcc: Clocks { sys: Hertz(4000000), apb1: Hertz(4000000), apb1_tim: Hertz(4000000), apb2: He
rtz(4000000), apb2_tim: Hertz(4000000), apb3: Hertz(4000000), ahb1: Hertz(4000000), ahb2: Hertz(4000000), 
ahb3: Hertz(4000000) }
└─ /home/kzm/Desktop/Git/embassy/embassy-stm32/src/fmt.rs:130
0.000061 INFO Hello World!
└─ blinky.rs:14   
0.000305 INFO on! 
└─ blinky.rs:19   
0.200714 INFO off!
└─ blinky.rs:23  

Closing!

from probe-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.