From ed47c871763ae7fc3d38988c9abb2476d234f7db Mon Sep 17 00:00:00 2001 From: Attila Veghelyi Date: Tue, 21 Jan 2025 14:45:30 +0100 Subject: [PATCH] jlink_spi: Increase delay on power on feature from 10 to 100 millisec More delay time is needed to stabilize the LDO and the decoupling capacitors when power on feature is enabled. Specifically 100 ms was tested on HT7333 and it's sufficient. I used the power supply from the J-Link device pin 19. this power is 5V, I put a 3.3V LDO (HT7333) after it, and this LDO (and decoupling capacitors) need more time to fix output voltage. Change-Id: Ic2dd94e99ac6ffa17a009b8488ce027698ae2c28 Signed-off-by: Attila Veghelyi Tested-by: Attila Veghelyi Signed-off-by: Anastasia Klimchuk Reviewed-on: https://review.coreboot.org/c/flashrom/+/86085 Reviewed-by: Anastasia Klimchuk Reviewed-by: Stefan Reinauer Tested-by: build bot (Jenkins) --- jlink_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jlink_spi.c b/jlink_spi.c index 6c5a52494..d970cdfba 100644 --- a/jlink_spi.c +++ b/jlink_spi.c @@ -465,7 +465,7 @@ static int jlink_spi_init(const struct programmer_cfg *cfg) } /* Wait some time until the target is powered up. */ - internal_sleep(10000); + internal_sleep(100000); } struct jaylink_hardware_status hwstat;