Skip to content

Device Tree Issue #7

@BestFriendofDoug

Description

@BestFriendofDoug

I'm trying to run the blinkled.c program and am having issues setting up the device tree to get an output to the pins. I have used this device tree https://github.com/BestFriendofDoug/pruspeak/blob/master/KA-GPIO-Test.dts and have modified the blinkled.c example to be https://github.com/BestFriendofDoug/pruspeak/blob/master/blinkled.c
Dont get hung up on these files being saved in the pruspeak repo, I haven't had a chance to change things over to my PRUSS-C repo. The device tree will compile and I can set it as the active tree fine, and the blinkled.c program is compiled fine and runs with the following output,

root@beaglebone:~PRUSS-C/am335x_pru_package/pru_sw/example_apps/bin ./blinkled

INFO: Starting PRU_memAccess_DDR_PRUsharedRAM example.
INFO: Initializing example.
INFO: Loading Data. success
INFO: Executing example.
success
INFO: Waiting for HALT command.

I am not getting any output to the pins. Any idea what I'm doing wrong here?

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