Skip to content

Commit bec16be

Browse files
authored
Ez efuse burner (#266)
1 parent bff8bbb commit bec16be

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

firmware/mgmt/src/chip_control.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ void NetHoldInReset()
2929

3030
// Reset
3131
HAL_GPIO_WritePin(NET_NRST_GPIO_Port, NET_NRST_Pin, GPIO_PIN_RESET);
32+
// HAL_Delay(100);
3233
}
3334

3435
void UIBootloaderMode()

firmware/net/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ SHELL := /bin/bash
22
.ONESHELL:
33

44
BAUD = 115200
5-
PORT = /dev/ttyUSB0
5+
PORT =
66
BUILD_PATH = ./build
77
TARGET = net
88

@@ -52,9 +52,12 @@ docker: docker-build
5252
-v /dev:/dev \
5353
-it ${DOCKER_IMAGE}
5454

55+
burn_jtag_efuse:
56+
python3 ../../software/flasher/main.py --port=${PORT} --baud=${BAUD} --chip="net" --use_external_flasher=true
57+
idf.py efuse-burn DIS_USB_JTAG
5558

5659
monitor:
57-
python3 ../..//software/tools/monitor.py ${PORT} ${BAUD}
60+
python3 ../../software/tools/monitor.py ${PORT} ${BAUD}
5861

5962
idf_monitor:
6063
python3 ../../softare/tools/command_sender.py ${PORT} ${BAUD} net_debug

0 commit comments

Comments
 (0)