background image

P5H-153 User Manual > How to Use > Escaping Infinite Reset

2021-12-10

Sollae Systems

page 12 of 13

Escaping Infinite Reset

PHPoC basically runs scripts when it boots up. Therefore, it is possible that a PHPoC cannot be
escaped from infinite reboot when script contains system command such as "reboot". To solve this
problem, it is required to stop the running script.
Refer to the following.

Entering ISP mode

1.

Make your PHPoC product to enter ISP mode by supplying power while pressing FUNC
button. In the ISP mode, you can access to PHPoC by PHPoC Debugger without running a
script.

Connect to PHPoC

2.

Connect a PC to PHPoC via a USB cable and connect to the port via PHPoC Debugger. A
message window related with ISP mode will be popped up.

Reboot PHPoC

3.

Reboot PHPoC by using "Reboot a product" menu in PHPoC Debugger. After rebooting,
PHPoC stops running script even it is not in the ISP mode.

Correct source code

4.

Correct the source code to prevent infinite reboot state.

Summary of Contents for P5H-153

Page 1: ...sensor s data to remote hosts via network Programming on this product requires the use of PHPoC PHP on Chip PHPoC is quite similar in syntax to PHP the general purpose scripting language Therefore an...

Page 2: ...developed PHPoC interpreter simple development environment via USB 10 100Mbps Ethernet 4 analog input ports 0 5V or 0 20mA 2 user defined LEDs self developed TCP IP stacks Web Server WebSocket TLS va...

Page 3: ...0 2V Current Consumption typical approximately 264mA Dimension 94mm x 57mm x 24mm Weight approximately 65g Interface Analog Input 8 pole terminal block 4 ADC ports 0 5V or 0 20mA Network 10 100Mbps Et...

Page 4: ...ser Manual Layout 2021 12 10 Sollae Systems page 4 of 13 Layout 1 Supplying Power DC 5V Input This port is the input port for supplying power The input voltage is DC 5V 0 2V and the specification is a...

Page 5: ...nal block Each port is mapped 0 to 3 channel of ADC device ADC0 1 2 for programming You must the input type of the each port The input type will be voltage DC 0 5V when you output LOW to each input ty...

Page 6: ...ption UIO pin A Green User defined LED UIO0 30 B Green User defined LED UIO0 31 RJ45_G Green System LED system status N A RJ45_Y Yellow System LED network link status N A 5 Function Button The functio...

Page 7: ...ucts You need to install this program on your PC for using PHPoC PHPoC Debugger Download Page PHPoC Debugger Manual Functions and Features of PHPoC Debugger Upload files from local PC to PHPoC Downloa...

Page 8: ...t of P5H 153 to your PC via a USB cable 1 Run PHPoC Debugger 2 Select connected COM PORT and press connect button 3 If USB is successfully connected connect button will be inactivated and disconnect b...

Page 9: ...e RJ45_Y LED is turned OFF Initialization ready Off 4 Release the function button right after the RJ45_Y is OFF If you don t release the button within 2 seconds the state go back to the step 3 Progres...

Page 10: ...owsers How to use web interface To use the web interface index php file should be in the file system of your PHPoC Connect to this page by entering device IP address after connecting it to network If...

Page 11: ...Passwords 2021 12 10 Sollae Systems page 11 of 13 Setting Passwords If you set a password for the product you must enter the password when connecting the product via USB or network Please refer to the...

Page 12: ...Entering ISP mode 1 Make your PHPoC product to enter ISP mode by supplying power while pressing FUNC button In the ISP mode you can access to PHPoC by PHPoC Debugger without running a script Connect...

Page 13: ...ity Path Note NET 1 mmap net0 TCP 5 mmap tcp0 4 UDP 5 mmap udp0 4 ADC 3 mmap adc0 3 4 channels 0 3 UIO 1 mmap uio0 LED 2 pin 0 30 31 UIO 4 pin 0 16 19 ST 8 mmap st0 7 UM 4 mmap um0 3 NM 1 mmap nm0 RTC...

Reviews: