Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I used renode for the first time and tried to run the demo. but it didn't work properly? #546

Open
2ha2ha opened this issue Nov 6, 2023 · 0 comments

Comments

@2ha2ha
Copy link

2ha2ha commented Nov 6, 2023

This is my first time using renode, so I tried to run the demo according to the documentation.
https://github.com/renode/renode/blob/master/scripts/single-node/stm32f103.resc
But the message displayed is strange, it tells me that RCC is not implemented.
I checked the file "platforms/cpus/stm32f103.repl" and it seems that there is no description of RCC.
So I would like to know how to make it work, or is it already working? Can I ignore the WARNING?

01:13:05.5139 [INFO] Loaded monitor commands from: D:\Program Files\Renode\scripts/monitor.py
01:13:07.5528 [INFO] Including script: D:\renode_test\stm32f103.resc
01:13:07.5668 [INFO] System bus created.
01:13:08.5422 [INFO] sysbus: Loaded SVD: C:\Users\HaHa\AppData\Local\Temp\renode-31840\0a3f1c26-47c6-451b-9aaa-18353a5342fc.tmp. Name: STM32F103. Description: STM32F103.
01:13:08.6392 [INFO] sysbus: Loading segment of 9740 bytes length at 0x8000000.
01:13:08.6578 [INFO] sysbus: Loading segment of 172 bytes length at 0x800260C.
01:13:08.6578 [INFO] sysbus: Loading segment of 3840 bytes length at 0x20000000.
01:13:16.5906 [INFO] cpu: Guessing VectorTableOffset value to be 0x8000000.
01:13:16.5967 [INFO] cpu: Setting initial values: PC = 0x80012ED, SP = 0x20000600.
01:13:16.5997 [INFO] machine-0: Machine started.
01:13:16.6694 [WARNING] nvic: Unhandled write to offset 0xD2C, value 0xFFFFFFFF.
01:13:16.6734 [WARNING] sysbus: [cpu: 0x8000C08] (tag: 'RCC_CR') ReadDoubleWord from non existing peripheral at 0x40021000, returning 0x0A020083.
01:13:16.6743 [WARNING] sysbus: Read from an unimplemented register RCC:CFGR (0x40021004), returning a value from SVD: 0x0.
01:13:16.6754 [WARNING] sysbus: Write of value 0x0 to an unimplemented register RCC:CFGR (0x40021004) generated from SVD.
01:13:16.6763 [WARNING] sysbus: Read from an unimplemented register RCC:CFGR (0x40021004), returning a value from SVD: 0x0.
01:13:16.6763 [WARNING] sysbus: Write of value 0x0 to an unimplemented register RCC:CFGR (0x40021004) generated from SVD.
01:13:16.6763 [WARNING] sysbus: Read from an unimplemented register RCC:CFGR (0x40021004), returning a value from SVD: 0x0.
01:13:16.6763 [WARNING] sysbus: [cpu: 0x8000C26] (tag: 'RCC_CR') ReadDoubleWord from non existing peripheral at 0x40021000, returning 0x0A020083.
01:13:16.6763 [WARNING] sysbus: Write of value 0xA020083 to an unimplemented register RCC:CR (0x40021000) generated from SVD.
01:13:16.6763 [WARNING] sysbus: [cpu: 0x8000944] (tag: 'RCC_CR') ReadDoubleWord from non existing peripheral at 0x40021000, returning 0x0A020083.
01:13:16.6763 [WARNING] sysbus: [cpu: 0x8000C3A] (tag: 'RCC_CR') ReadDoubleWord from non existing peripheral at 0x40021000, returning 0x0A020083.
01:13:16.6763 [WARNING] sysbus: Write of value 0xA020082 to an unimplemented register RCC:CR (0x40021000) generated from SVD.
01:13:16.6763 [WARNING] sysbus: Read from an unimplemented register RCC:APB2ENR (0x40021018), returning a value from SVD: 0x0.
01:13:16.6763 [WARNING] sysbus: Write of value 0x4 to an unimplemented register RCC:APB2ENR (0x40021018) generated from SVD.
01:13:16.6763 [WARNING] sysbus: Read from an unimplemented register RCC:APB2ENR (0x40021018), returning a value from SVD: 0x0.
01:13:16.6874 [WARNING] gpioPortA: Unhandled write to offset 0x0. Unhandled bits: [10] when writing value 0x44444044. Tags: CNF2 (0x1).
01:13:16.6894 [WARNING] gpioPortA: Unhandled write to offset 0x0. Unhandled bits: [11] when writing value 0x44444D44. Tags: CNF2 (0x2).
01:13:16.6903 [WARNING] sysbus: Read from an unimplemented register RCC:APB2ENR (0x40021018), returning a value from SVD: 0x0.
01:13:16.6903 [WARNING] sysbus: Write of value 0x4 to an unimplemented register RCC:APB2ENR (0x40021018) generated from SVD.
01:13:16.6903 [WARNING] sysbus: Read from an unimplemented register RCC:APB2ENR (0x40021018), returning a value from SVD: 0x0.
01:13:16.6903 [WARNING] gpioPortA: Unhandled write to offset 0x0. Unhandled bits: [14] when writing value 0x44440544. Tags: CNF3 (0x1).
01:13:16.6903 [WARNING] sysbus: Read from an unimplemented register RCC:APB1ENR (0x4002101C), returning a value from SVD: 0x0.
01:13:16.6903 [WARNING] sysbus: Write of value 0x20000 to an unimplemented register RCC:APB1ENR (0x4002101C) generated from SVD.
01:13:16.6903 [WARNING] sysbus: Read from an unimplemented register RCC:APB1ENR (0x4002101C), returning a value from SVD: 0x0.
01:13:16.6974 [WARNING] sysbus: Read from an unimplemented register RCC:APB2ENR (0x40021018), returning a value from SVD: 0x0.
01:13:16.6974 [WARNING] sysbus: Write of value 0x41 to an unimplemented register RCC:APB2ENR (0x40021018) generated from SVD.
01:13:16.6974 [WARNING] sysbus: Read from an unimplemented register RCC:APB2ENR (0x40021018), returning a value from SVD: 0x0. (2)
01:13:16.6974 [WARNING] sysbus: Write of value 0x21 to an unimplemented register RCC:APB2ENR (0x40021018) generated from SVD.
01:13:16.6974 [WARNING] sysbus: Read from an unimplemented register RCC:APB2ENR (0x40021018), returning a value from SVD: 0x0. (2)
01:13:16.6974 [WARNING] sysbus: Write of value 0x11 to an unimplemented register RCC:APB2ENR (0x40021018) generated from SVD.
01:13:16.6983 [WARNING] sysbus: Read from an unimplemented register RCC:APB2ENR (0x40021018), returning a value from SVD: 0x0. (2)
01:13:16.6983 [WARNING] sysbus: Write of value 0x9 to an unimplemented register RCC:APB2ENR (0x40021018) generated from SVD.
01:13:16.6983 [WARNING] sysbus: Read from an unimplemented register RCC:APB2ENR (0x40021018), returning a value from SVD: 0x0. (2)
01:13:16.6983 [WARNING] sysbus: Write of value 0x5 to an unimplemented register RCC:APB2ENR (0x40021018) generated from SVD.
01:13:16.6983 [WARNING] sysbus: Read from an unimplemented register RCC:APB2ENR (0x40021018), returning a value from SVD: 0x0.
01:13:16.7109 [WARNING] usart2: Unhandled write to offset 0x0. Unhandled bits: [0-2, 4, 8-31] when writing value 0xFFFFFFBF. Tags: PE (0x1), FE (0x1), NF (0x1), IDLE (0x1), LBD (0x1), CTS (0x1), RESERVED (0x3FFFFF). (98)
01:13:16.7109 [WARNING] gpioPortC: Unhandled write to offset 0x4. Unhandled bits: [22] when writing value 0x44044444. Tags: CNF13 (0x1).
01:13:16.7109 [WARNING] sysbus: Read from an unimplemented register AFIO:EXTICR4 (0x40010014), returning a value from SVD: 0x0.
01:13:16.7109 [WARNING] sysbus: Write of value 0x0 to an unimplemented register AFIO:EXTICR4 (0x40010014) generated from SVD.
01:13:16.7109 [WARNING] sysbus: Read from an unimplemented register AFIO:EXTICR4 (0x40010014), returning a value from SVD: 0x0.
01:13:16.7109 [WARNING] sysbus: Write of value 0x20 to an unimplemented register AFIO:EXTICR4 (0x40010014) generated from SVD.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant