Other Parts Discussed in Thread: TDA4VM
Tool/software:
Hi,
I'm using a board very similar to the J721E EVM board (TDA4VM), and attempting to use the ECAP as APWM (as a fan PWM controller).
1. First I tried to simply access the registers at 0x03100000 using devmem from Linux. It gave me the exception, so I assumed the memory was being protected or not mapped correctly.
2. I then updated the DTS with ECAP and FAN-PWM as done in the compatible AM65x DTS files.
This does give me PWM device in sysfs, that can be exported using:
echo 0 > /sys/devices/platform/bus@100000/3100000.pwm/pwm/pwmchip0/export
However, attempting to write any parameters in /sys/devices/platform/bus@100000/3100000.pwm/pwm/pwmchip0/pwm0/ also causes the same exception, so the same error persists.
Output:
ERROR: Unhandled External Abort received on 0x80000000 from S-EL1
ERROR: exception reason=0 syndrome=0xbf000000
Unhandled Exception from EL1
Followed by a register dump