Hello
LPC 845 max getting to the ISP mode in the EVK board. It couldn't flash the program. When pressing the ISP switch to the ground the program flashed but couldn't control the GPIO as I set first pin of the controller to low , the pin couldn't change it's state. Same happening in the development board.
With Regards
Dharsan K K
Hello @DHARSAN
Please describe your issue more detail, thanks.
->> Which pin? Please show your steps and code, I help you check , thanks.
BR
Alice
Hello @DHARSAN
If you want to program the device through ISP mode , please use Flash Magic. Below are the detailed steps:
Prepare the GPIO Demo:
Convert the Binary File to Hex:
Enter ISP Mode:
Program Using Flash Magic:
Following these steps should allow you to successfully program your device through ISP mode. After reset, gpio demo should work.
BR
Alice
Hello
The EVK board could not configure GPIO when flashing the program in ISP mode by pressing the ISP button. When checking the P1_0 pin not changed it's state. The same code flashed in my development board, only port 1 is configured and I configure the port 0. What will be the cause for the issue.
SYSCON->SYSAHBCLKCTRL0 |=1<<6; //clock for GPIO0 port
SYSCON->PRESETCTRL0 |=1<<6;
SYSCON->SYSAHBCLKCTRL0 |=1<<20; //clock for GPIO1 port
SYSCON->PRESETCTRL0 |=1<<20;
IOCON->PIO[IOCON_INDEX_PIO1_8]|=0x00; //pin 1
GPIO->DIR[1]|=(1<<8);
GPIO->CLR[1]|=(1<<8);
IOCON->PIO[IOCON_INDEX_PIO0_0]|=0x00; //pin 2
GPIO->DIR[0]|=(1<<0);
GPIO->CLR[0]|=(1<<0);