Page 1 of 1

a chip bug

Posted: Thu Dec 10, 2015 11:27 am
by linuxjiahuo
hi, MR:
I use PD0 as a output pin. When I initialise it in the board_init function, I find that after I programed the sams70 chip, it can not start normally . Even if I program it again, the program software note me program failed. I have tried sams70q20 and sams70q21, and they all occurs.
I trace the code, and find that the code stops here: {ioport_set_pin_dir}->{arch_ioport_set_pin_dir}->{base->PIO_OER = arch_ioport_pin_to_mask(pin)}. But other PD pins are ok.
Why?Anyone can explain?
Thank you.