Closed axibo-reiner closed 8 months ago
For context, if you can copy and paste your code please? If it is one of my examples just tell me which one. This can take around a week for me to check, I am abroad and don't have my Orin at hand.
OK so I ran some examples on my Orin Nano here but I am not able to reproduce your problem, I can trigger outputs just fine. No cbb fabric "firewall" issues on my kernel log either. Anyways, looking at your log in line "[ 1796.410993] Address : 0x32e0000" this error is related to the Orin cbb firewall stopping an application in user space writing to register: 0x32e0000 which is the one controlling PWM7 aka PWM in pin 32. I tested that also but I don't have that problem either (by installing my library that problem is taken care of)
So in short, with no more feedback from your side I am not able to find any problem on my side of things. There is an observation I would like to make though, your version of Linux for Tegra is: 35.3.1, that if I recall correctly was the first release supporting Orin Nano and that one was quite incomplete/buggy. Not sure what your actual problem is, but maybe reflashing with a newer version is a good idea, whether you use my library or something else, check the list here: https://developer.nvidia.com/embedded/jetpack-archive
Finally, ALL cbb-fabric firewall problems can be sorted out by modifying the device tree file controlling the behaviour of the cbb and then reflashing, for more info of how to disable the cbb firewall you can check this one: https://forums.developer.nvidia.com/t/i2c-reads-writes-over-32-bytes-cause-cbb-error-on-i2c-0/234855
Jetson Orin Nano
The below error is caused when setting the GPIO to an OUTPUT.