Comments (3)
Hi @jsncepu, thanks for asking a question.
Judging from the names of resc
and repl
scripts I assume you've found them on the Dashboard or Renodepedia,, is that correct? In such case yes, those are based on the Zephyr RTOS.
Renode is software agnostic, meaning that it should be able to run any payload that works on actual HW (ranging from custom baremetal, through RTOSes like Zephyr, more advanced OSes like Linux, etc.). The level of support might vary between platforms, though - it depends on the completeness of models.
In order to debug what's happening with the simulation I suggest enabling the following logs in Monitor/resc script:
cpu0 LogFunctionNames true
sysbus LogPeripheralAccess lpuart1 true
It might be that your software loops during initialization before it even reaches any UART output, but this should be visible in logs.
BTW, if you're interested in tflm, we also have a running demo of it in https://renodepedia.renode.io/boards/nucleo_l4r5zi/?view=software&demo=tensorflow_lite_micro (but it's also Zephyr based).
from renode.
Thank you for your reply @mateusz-holenko . I will try to debug my program according to your advice. I guess the main problem is that I don't know how to configure the parameters in the repl file for baremetal board without the RTOS becuase when I run my problem directly on the example based on the example resc and repl files, the monitor of Renode reported the error of no vector table. However, after I commentted out the line of codes of vector table, I got nothing from lpuart port.
from renode.
The vector_table
line is Zephyr-specific. We typically try to guess the vector table offset for Cortex-M, but it doesn't work on every binary. You can set it manually to a symbol that is available in your ELF:
cpu0 VectorTableOffset `sysbus GetSymbolAddress "your_symbol_name"`
Do you see a reasonable output when you run the LogFunctionNames
command mentioned above? Does it seem like your binary is actually executing?
from renode.
Related Issues (20)
- Add STM32C0 ADC driver
- Wrong behavior on STM32_ADC_Common when using FeedVoltageSampleToChannel
- Rust binding for Renode HOT 1
- Running Renode on Asahi Linux (aarch64) HOT 1
- ? HOT 1
- Support needed on how to use polarfire SoCs custom buildroot image with Renode
- Zephyr STM32F4/F0 usart1 output
- Understanding Renode internal code base
- Using renode API in C# HOT 2
- How to Set Up External Interrupts for Mi-V RV32 in REPL Script? HOT 1
- STM32_Timer AutoReload should only be 16-bits HOT 5
- Latency with MappedMemory HOT 4
- GUI Image of Console is Blurry HOT 3
- FTBFS after .NET Framework 4.6.2 upgrade on linux fedora with CS0518 "`System.Object' is not defined or imported" HOT 5
- Incorrect CRC32 on STM32F429 HOT 1
- STMG0 UART DMA Tx/Rx HOT 1
- Question: CPU abort instead of exception? HOT 1
- macOS keyboard shortcuts `⌘C` and `⌘V` are not working for copy and paste HOT 2
- robot-keywords.robot not able to find the executable for Linux HOT 4
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 renode.