Giter Club home page Giter Club logo

Comments (13)

lefebvresam avatar lefebvresam commented on July 23, 2024 1

Too big to paste. You can find it here:
https://gofile.me/7bRXP/eCDrZIzCT

from stlink.

Nightwalker-87 avatar Nightwalker-87 commented on July 23, 2024 1

Well you can replace the characters in the mentioned files yourself locally and recompile. 😉
I'll likely not generate a separate commit solely for it.
It will be pushed bundled with other fixes instead, as soon as these are resolved as well.

from stlink.

Nightwalker-87 avatar Nightwalker-87 commented on July 23, 2024

Bug found and fixed locally. It will be pushed to the testing branch soon.
However, as the Merge-Window for the upcoming Release v1.8.0 has already closed, it will not be part of this release.

from stlink.

lefebvresam avatar lefebvresam commented on July 23, 2024

It is the same during programming. The line overwrites the last line which is confusing.

from stlink.

Nightwalker-87 avatar Nightwalker-87 commented on July 23, 2024

Should be the same fix somewhere else in the code, I presume.
@lefebvresam Can you produce some debug output for the latter from which one can identify some source code filenames? This would ease debugging. Thx.

from stlink.

Nightwalker-87 avatar Nightwalker-87 commented on July 23, 2024

Ping @lefebvresam

from stlink.

lefebvresam avatar lefebvresam commented on July 23, 2024

Can you tell me the steps to create the right output? I tried with make debug and make install but don't see any debug information.

from stlink.

Nightwalker-87 avatar Nightwalker-87 commented on July 23, 2024

@lefebvresam Simply add the --debug option to the st-flash commands you are referring to.
You can upload the output to pastebin.

from stlink.

Nightwalker-87 avatar Nightwalker-87 commented on July 23, 2024

@lefebvresam I've downloaded it, so you can remove the share again, if you wish to.
It is now fixed for the erase command.
Did it also affect the write command?

from stlink.

lefebvresam avatar lefebvresam commented on July 23, 2024

This listing I provided is for the writing. There you see the message "writing page ..." in front of other messages.

Flash the chip with build/develop/source/hmc20.bin
st-flash 1.7.0-354-g32e8dcc
2024-02-04T23:56:45 INFO common.c: STM32U575_U585: 786 KiB SRAM, 1024 KiB flash in at least 8 KiB pages.
file build/develop/source/hmc20.bin md5 checksum: febabfdaa094210b9119395763fb7, stlink checksum: 0x01837946
2024-02-04T23:56:45 INFO common_flash.c: Attempting to write 250092 (0x3d0ec) bytes to stm32 address: 134217728 (0x8000000)
-> Flash page at 0x803c000 erased (size: 0x2000)
2024-02-04T23:56:45 INFO flash_loader.c: Starting Flash write for WB/G0/G4/L5/U5/H5/C0
 30/30  pages writtenARN flash_loader.c: Data size is aligned to 16 byte
2024-02-04T23:57:04 INFO common_flash.c: Starting verification of write complete
2024-02-04T23:57:06 INFO common_flash.c: Flash written and verified! jolly good!
2024-02-04T23:57:06 INFO common.c: NRST is not connected --> using software reset via AIRCR
2024-02-04T23:57:06 INFO common.c: Go to Thumb mode

from stlink.

Nightwalker-87 avatar Nightwalker-87 commented on July 23, 2024

Ok, thx. I'll have a look in these specific files then.

from stlink.

Nightwalker-87 avatar Nightwalker-87 commented on July 23, 2024

This is fixed by now. All related output lines are in common_flash.c and flash_loader.c.
All carriage return \r characters found have been replaced by newline \n characters.
The ticket will be closed by automation upon reference in one of the next commits.

from stlink.

lefebvresam avatar lefebvresam commented on July 23, 2024

How can I test it?

from stlink.

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.