Comments (5)
gdb backtrace:
#0 storage_show_error () at firmware/storage.c:115
#1 0x0801531c in storage_check_flash_errors (status=) at firmware/storage.c:123
#2 storage_wipe () at firmware/storage.c:743
#3 0x080153a0 in storage_init () at firmware/storage.c:226
#4 0x080140ca in main () at firmware/trezor.c:120
from services.
Quote from the datasheet of the microcontroller:
https://www.st.com/content/ccc/resource/technical/document/programming_manual/f7/7e/b9/a8/31/58/41/7b/CD00233952.pdf/files/CD00233952.pdf/jcr:content/translations/en.CD00233952.pdf
"The write access type (byte, half-word, word or double word) must correspond to the type of
parallelism chosen (x8, x16, x32 or x64). If no
t, the write operation
is not performed and a
program parallelism error flag (PGPERR)
is set in the FLASH_SR register."
from services.
where is
- write access type
- parallelism
configured?
from services.
can you explain these diffs from git diff 88c1b0d699076ce15f8cf7b27c50d4bbc0346f76 firmware/storage.c
?
// fill remainder with zero for future extensions
while (flash < FLASH_STORAGE_PINAREA) {
- flash_program_word(flash, 0);
+ flash_write32(flash, 0);
flash += sizeof(uint32_t);
}
and
static uint32_t storage_flash_words(uint32_t addr, const uint32_t *src, int nwords) {
for (int i = 0; i < nwords; i++) {
- flash_program_word(addr, *src++);
+ flash_write32(addr, *src++);
addr += sizeof(uint32_t);
}
return addr;
from services.
solved
from services.
Related Issues (20)
- tool to extract public keys and balances from ethereum. HOT 1
- CI working for every project inside the repository? HOT 2
- [Hardware-wallet] Device flash memory locked HOT 1
- Tool to visualize a list of ip addresses
- [Hardware-wallet]: Create a factory test mode HOT 4
- [Hardware-wallet]: passphrase protection HOT 8
- [Hardware-wallet]: Pin code waiting time should not be infinite HOT 1
- [Hardware-wallet]: improve travis build HOT 3
- [Hardware-wallet]: Check signature: how should it work ? HOT 1
- [Hardware-Wallet]: Maintaining many copies of protobuf files HOT 1
- Hardware wallet support for 24 word seeds HOT 1
- scanning wallet diagram
- Add pending transactions list to coin api
- Add spent by field to transactions in coin-api
- Parse list of addresses HOT 3
- Add ETH integration for coin-api
- Service to send alerts when unconfirmed txns do not empty HOT 3
- coin-api dependencies
- coin-api gui compatibility 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 services.