Skip to content

Not able to get complete repl for nrf52840 dk #11

@raj-priyanshu

Description

@raj-priyanshu

Hi,
I was trying to run the button example from zephyr OS.
Since Renode support for Zephyr OS and nrf52840dk/nrf52840 is very much up now, I was hoping button emulation should be working.

I ran the command below

dts2repl.exe  C:\ncs\workspace\button\build\button\zephyr\zephyr.dts --output renode.repl --loglevel info 

dts2repl sha -> 868d264 (latest main)
But I am not able to get the output as expected. Even I visited the zypher dashboad, still didnt find any entry of button in repl.

renode.repl

zephyr.dts

I got this output upon using loglevel where it is showing that model is not matching so skipped. How to fix it?

INFO:root:Node led_0 mapped to led0...
INFO:root:Node led_0 mapped to led0 was assigned model Miscellaneous.LED
INFO:root:Node led_1 mapped to led1...
INFO:root:Node led_1 mapped to led1 was assigned model Miscellaneous.LED
INFO:root:Node led_2 mapped to led2...
INFO:root:Node led_2 mapped to led2 was assigned model Miscellaneous.LED
INFO:root:Node led_3 mapped to led3...
INFO:root:Node led_3 mapped to led3 was assigned model Miscellaneous.LED
INFO:root:Node analog-connector does not have a matching Renode model. Skipping...
INFO:root:Node connector does not have a matching Renode model. Skipping...
INFO:root:Node itm@e0000000 does not have a matching Renode model. Skipping...
INFO:root:Node timer@e000e010 does not have a matching Renode model. Skipping...
INFO:root:Node cpu@0 mapped to cpu0...
INFO:root:Node cpu@0 mapped to cpu0 was assigned model CPU.CortexM
INFO:root:Node crypto@5002a000 does not have a matching Renode model. Skipping...
INFO:root:Node interrupt-controller@e000e100 mapped to nvic0...
INFO:root:Node interrupt-controller@e000e100 mapped to nvic0 was assigned model IRQControllers.NVIC
INFO:root:Node partitions does not have a matching Renode model. Skipping...
INFO:root:Node buttons does not have a matching Renode model. Skipping...
INFO:root:Node memory@20000000 mapped to sram0...
INFO:root:Node memory@20000000 mapped to sram0 was assigned model Memory.MappedMemory
INFO:root:Node bt_hci_sdc does not have a matching Renode model. Skipping...
INFO:root:Node acl@4001e000 does not have a matching Renode model. Skipping...
INFO:root:Node ccm@4000f000 does not have a matching Renode model. Skipping...
INFO:root:Node clock@40000000 mapped to clock...
INFO:root:Node clock@40000000 mapped to clock was assigned model Miscellaneous.NRF_CLOCK
INFO:root:Node comparator@40013000 does not have a matching Renode model. Skipping...
INFO:root:Node ecb@4000e000 mapped to ecb...
INFO:root:Node ecb@4000e000 mapped to ecb was assigned model Miscellaneous.NRF52840_ECB
INFO:root:Node egu@40014000 does not have a matching Renode model. Skipping...
INFO:root:Node egu@40015000 does not have a matching Renode model. Skipping...
INFO:root:Node egu@40016000 does not have a matching Renode model. Skipping...
INFO:root:Node egu@40017000 does not have a matching Renode model. Skipping...
INFO:root:Node egu@40018000 does not have a matching Renode model. Skipping...
INFO:root:Node egu@40019000 does not have a matching Renode model. Skipping...
INFO:root:Node ficr@10000000 does not have a matching Renode model. Skipping...
INFO:root:Node gpio@50000000 mapped to gpio0...
INFO:root:Node gpio@50000000 mapped to gpio0 was assigned model GPIOPort.NRF52840_GPIO
INFO:root:Node gpio@50000300 mapped to gpio1...
INFO:root:Node gpio@50000300 mapped to gpio1 was assigned model GPIOPort.NRF52840_GPIO
INFO:root:Node gpiote@40006000 does not have a matching Renode model. Skipping...
INFO:root:Node gpregret1@4000051c does not have a matching Renode model. Skipping...
INFO:root:Node gpregret2@40000520 does not have a matching Renode model. Skipping...
INFO:root:Node i2s@40025000 does not have a matching Renode model. Skipping...
INFO:root:Node ieee802154 does not have a matching Renode model. Skipping...
INFO:root:Node mwu@40020000 does not have a matching Renode model. Skipping...
INFO:root:Node nfct@40005000 does not have a matching Renode model. Skipping...
INFO:root:Node pdm@4001d000 does not have a matching Renode model. Skipping...
INFO:root:Node pin-controller does not have a matching Renode model. Skipping...
INFO:root:Node power@40000000 does not have a matching Renode model. Skipping...
INFO:root:Node ppi@4001f000 does not have a matching Renode model. Skipping...
INFO:root:Node pwm@4001c000 does not have a matching Renode model. Skipping...
INFO:root:Node pwm@40021000 does not have a matching Renode model. Skipping...
INFO:root:Node pwm@40022000 does not have a matching Renode model. Skipping...
INFO:root:Node pwm@4002d000 does not have a matching Renode model. Skipping...
INFO:root:Node qdec@40012000 does not have a matching Renode model. Skipping...
INFO:root:Node qspi@40029000 does not have a matching Renode model. Skipping...
INFO:root:Node radio@40001000 does not have a matching Renode model. Skipping...
INFO:root:Node random@4000d000 mapped to rng...
INFO:root:Node random@4000d000 mapped to rng was assigned model Miscellaneous.NRF52840_RNG
INFO:root:Node rtc@4000b000 mapped to rtc0...
INFO:root:Node rtc@4000b000 mapped to rtc0 was assigned model Timers.NRF52840_RTC
INFO:root:Node rtc@40011000 mapped to rtc1...
INFO:root:Node rtc@40011000 mapped to rtc1 was assigned model Timers.NRF52840_RTC
INFO:root:Node rtc@40024000 mapped to rtc2...
INFO:root:Node rtc@40024000 mapped to rtc2 was assigned model Timers.NRF52840_RTC
INFO:root:Node adc@40007000 does not have a matching Renode model. Skipping...
INFO:root:Node spi@40003000 disabled. Skipping...
INFO:root:Node spi@40004000 mapped to spi1...
INFO:root:Node spi@40004000 mapped to spi1 was assigned model SPI.NRF52840_SPI
INFO:root:Node spi@40023000 disabled. Skipping...
INFO:root:Node spi@4002f000 does not have a matching Renode model. Skipping...
INFO:root:Node sw-pwm does not have a matching Renode model. Skipping...
INFO:root:Node temp@4000c000 does not have a matching Renode model. Skipping...
INFO:root:Node timer@40008000 disabled. Skipping...
INFO:root:Node timer@40009000 disabled. Skipping...
INFO:root:Node timer@4000a000 disabled. Skipping...
INFO:root:Node timer@4001a000 disabled. Skipping...
INFO:root:Node timer@4001b000 disabled. Skipping...
INFO:root:Node i2c@40003000 mapped to i2c0...
INFO:root:Node i2c@40003000 mapped to i2c0 was assigned model I2C.NRF52840_I2C
INFO:root:Node i2c@40004000 disabled. Skipping...
INFO:root:Node uart@40002000 mapped to uart0...
INFO:root:Node uart@40002000 mapped to uart0 was assigned model UART.NRF52840_UART
INFO:root:Node uart@40028000 disabled. Skipping...
INFO:root:Node uicr@10001000 does not have a matching Renode model. Skipping...
INFO:root:Node usbd@40027000 mapped to usbd...
INFO:root:Node usbd@40027000 mapped to usbd was assigned model USB.NRF_USBD
INFO:root:Node watchdog@40010000 does not have a matching Renode model. Skipping...
INFO:root:Node flash-controller@4001e000 does not have a matching Renode model. Skipping...
INFO:root:Node hfxo does not have a matching Renode model. Skipping...
INFO:root:Node / does not have a matching Renode model. Skipping...
INFO:root:Node soc does not have a matching Renode model. Skipping...
INFO:root:Node regulator@40000580 does not have a matching Renode model. Skipping...
INFO:root:Node regulator@40000578 does not have a matching Renode model. Skipping...
INFO:root:Node pwmleds does not have a matching Renode model. Skipping...
INFO:root:Node bt_hci_controller does not have a matching Renode model. Skipping...
INFO:root:Node boot_mode@0 does not have a matching Renode model. Skipping...
INFO:root:Applying cortex-m.repl overlay file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions