stm32: Add SDRAM support for stm32f746 discovery board
Subsystems (3)
cover stm32: Add SDRAM support for stm32f746 discovery board
From: Toshifumi NISHINAGA <[email protected]>
This patch adds SDRAM support to boot Linux kernel for stm32f746 discovery board.
Toshifumi NISHINAGA (3):
stm32: clk: Add 200MHz clock configuration for stm32f746 discovery
board
stm32: Add SDRAM support for stm32f746 discovery board
stm32: Change USART port to USART6 for stm32f746 discovery board
arch/arm/cpu/armv7m/config.mk | 2 +- arch/arm/include/asm/arch-stm32f7/fmc.h | 75 +++++++ arch/arm/include/asm/arch-stm32f7/stm32.h | 46 +++++ arch/arm/include/asm/arch-stm32f7/stm32_periph.h | 2 + arch/arm/include/asm/armv7m.h | 11 ++ arch/arm/mach-stm32/stm32f7/Makefile | 2 +- arch/arm/mach-stm32/stm32f7/clock.c | 231 ++++++++++++++++++++++ arch/arm/mach-stm32/stm32f7/soc.c | 76 +++++++ board/st/stm32f746-disco/stm32f746-disco.c | 239 +++++++++++++++++++++-- drivers/serial/serial_stm32x7.c | 16 +- include/configs/stm32f746-disco.h | 11 +- 11 files changed, 687 insertions(+), 24 deletions(-) create mode 100644 arch/arm/include/asm/arch-stm32f7/fmc.h create mode 100644 arch/arm/mach-stm32/stm32f7/soc.c
--
2.9.0
PATCH 1/3 stm32: clk: Add 200MHz clock configuration for stm32f746 discovery board
From: Toshifumi NISHINAGA <[email protected]>
This patch adds 200MHz clock configuration for stm32f746 discovery board. This patch is based on STM32F4 and emcraft's[1].
[1]: https://github.com/EmcraftSystems/u-boot
--- arch/arm/include/asm/arch-stm32f7/stm32.h | 46 ++++++ arch/arm/mach-stm32/stm32f7/Makefile | 2 +- arch/arm/mach-stm32/stm32f7/clock.c | 228 ++++++++++++++++++++++++++++++ arch/arm/mach-stm32/stm32f7/soc.c | 27 ++++ drivers/serial/serial_stm32x7.c | 16 ++- include/configs/stm32f746-disco.h | 3 +- 6 files changed, 319 insertions(+), 3 deletions(-) create mode 100644 arch/arm/mach-stm32/stm32f7/soc.c
arch/arm/include/asm/arch-stm32f7/stm32.h +46 -0
@@ -64,6 +64,52 @@ enum clock { };#define STM32_BUS_MASK 0xFFFF0000 +struct stm32_rcc_regs { +u32 cr;/* RCC clock control */ +u32 pllcfgr;/* RCC PLL configuration */ +u32 cfgr;/* RCC clock configuration */ +u32 cir;/* RCC clock interrupt */ +u32 ahb1rstr;/* RCC AHB1 peripheral reset */ +u32 ahb2rstr;/* RCC AHB2 peripheral reset */ +u32 ahb3rstr;/* RCC AHB3 peripheral reset */ +u32 rsv0; +u32 apb1rstr;/* RCC APB1 peripheral reset */ +u32 apb2rstr;/* RCC APB2 peripheral reset */ +u32 rsv1[2 ]; +u32 ahb1enr;/* RCC AHB1 peripheral clock enable */ +u32 ahb2enr;/* RCC AHB2 peripheral clock enable */ +u32 ahb3enr;/* RCC AHB3 peripheral clock enable */ +u32 rsv2; +u32 apb1enr;/* RCC APB1 peripheral clock enable */ +u32 apb2enr;/* RCC APB2 peripheral clock enable */ +u32 rsv3[2 ]; +u32 ahb1lpenr;/* RCC AHB1 periph clk enable in low pwr mode */ +u32 ahb2lpenr;/* RCC AHB2 periph clk enable in low pwr mode */ +u32 ahb3lpenr;/* RCC AHB3 periph clk enable in low pwr mode */ +u32 rsv4; +u32 apb1lpenr;/* RCC APB1 periph clk enable in low pwr mode */ +u32 apb2lpenr;/* RCC APB2 periph clk enable in low pwr mode */ +u32 rsv5[2 ]; +u32 bdcr;/* RCC Backup domain control */ +u32 csr;/* RCC clock control & status */ +u32 rsv6[2 ]; +u32 sscgr;/* RCC spread spectrum clock generation */ +u32 plli2scfgr;/* RCC PLLI2S configuration */ +u32 pllsaicfgr; +u32 dckcfgr; +}; +#define STM32_RCC ((struct stm32_rcc_regs *)RCC_BASE) + +struct stm32_pwr_regs { +u32 cr1;/* power control register 1 */ +u32 csr1;/* power control/status register 2 */ +u32 cr2;/* power control register 2 */ +u32 csr2;/* power control/status register 2 */ +}; +#define STM32_PWR ((struct stm32_pwr_regs *)PWR_BASE) +int configure_clocks (void ); +unsigned long clock_get (enum clock clck); +void stm32_flash_latency_cfg (int latency);#endif /* _ASM_ARCH_HARDWARE_H */
arch/arm/mach-stm32/stm32f7/Makefile +1 -1
@@ -5,4 +5,4 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-y += timer.o clock.o +obj-y += timer.o clock.o soc.o
arch/arm/mach-stm32/stm32f7/clock.c +228 -0
234 lines not on this page · raw message
arch/arm/mach-stm32/stm32f7/soc.c new file +27 -0
@@ -0,0 +1,27 @@ +/* +* (C) Copyright 2015 +* Kamil Lulko, <[email protected]> +* +* SPDX-License-Identifier: GPL-2.0+ +*/ + +#include <common.h> +#include <asm/io.h> +#include <asm/armv7m.h> +#include <asm/arch/stm32.h> + +u32 get_cpu_rev (void ) +{ +return 0 ; +} + +int arch_cpu_init (void ) +{ +configure_clocks (); + +return 0 ; +} + +void s_init (void ) +{ +}
drivers/serial/serial_stm32x7.c +15 -1
@@ -9,6 +9,7 @@#include <dm.h> #include <asm/io.h> #include <serial.h> +#include <asm/arch/stm32.h> #include <dm/platform_data/serial_stm32x7.h> #include "serial_stm32x7.h"
@@ -18,7 +19,20 @@ static int stm32_serial_setbrg(struct udevice *dev, int baudrate) {struct stm32x7_serial_platdata *plat = dev->platdata;struct stm32_usart *const usart = plat->base; -writel (plat->clock/baudrate, &usart->brr); +u32 clock, int_div, frac_div, tmp; + +if (((u32 )usart &STM32_BUS_MASK ) ==APB1_PERIPH_BASE ) + clock =clock_get (CLOCK_APB1 ); +else if (((u32 )usart &STM32_BUS_MASK ) ==APB2_PERIPH_BASE ) + clock =clock_get (CLOCK_APB2 ); +else +return -EINVAL ; + + int_div = (25 * clock) / (4 * baudrate); + tmp = ((int_div /100 ) <<USART_BRR_M_SHIFT ) &USART_BRR_M_MASK ; + frac_div = int_div - (100 * (tmp >>USART_BRR_M_SHIFT )); + tmp |= (((frac_div *16 ) +50 ) /100 ) &USART_BRR_F_MASK ; +writel (tmp, &usart->brr);return 0 ; }
include/configs/stm32f746-disco.h +2 -1
@@ -42,7 +42,8 @@#define CONFIG_STM32_FLASH #define CONFIG_STM32X7_SERIAL -#define CONFIG_SYS_CLK_FREQ 16*1000*1000/* 180 MHz */ +#define CONFIG_STM32_HSE_HZ 25000000 +#define CONFIG_SYS_CLK_FREQ 200000000/* 200 MHz */ #define CONFIG_SYS_HZ_CLOCK 1000000/* Timer is clocked at 1MHz */ #define CONFIG_CMDLINE_TAG
Signature · 1 line
2.9.0
PATCH 1/3 stm32: clk: Add 200MHz clock configuration for stm32f746 discovery board
Quoted 8 lines · tnishinaga.dev at gmail.com
From: Toshifumi NISHINAGA <[email protected]>
This patch adds 200MHz clock configuration for stm32f746 discovery board. This patch is based on STM32F4 and emcraft's[1].
[1]: https://github.com/EmcraftSystems/u-boot
Signed-off-by Toshifumi NISHINAGA <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160716/f715c1a0/attachment.sig>
PATCH 2/3 stm32: Add SDRAM support for stm32f746 discovery board
In reply to tnishinaga.dev at gmail.comFrom: Toshifumi NISHINAGA <[email protected]>
This patch adds SDRAM support for stm32f746 discovery board. This patch depends on previous patch.
This patch is based on STM32F4 and emcraft's[1].
[1]: https://github.com/EmcraftSystems/u-boot
--- arch/arm/cpu/armv7m/config.mk | 2 +- arch/arm/include/asm/arch-stm32f7/fmc.h | 75 ++++++++++ arch/arm/include/asm/armv7m.h | 11 ++ arch/arm/mach-stm32/stm32f7/soc.c | 49 +++++++ board/st/stm32f746-disco/stm32f746-disco.c | 226 +++++++++++++++++++++++++++-- include/configs/stm32f746-disco.h | 8 +- 6 files changed, 357 insertions(+), 14 deletions(-) create mode 100644 arch/arm/include/asm/arch-stm32f7/fmc.h
arch/arm/cpu/armv7m/config.mk +1 -1
@@ -5,4 +5,4 @@ # SPDX-License-Identifier: GPL-2.0+ # -PLATFORM_CPPFLAGS += -march=armv7-m -mthumb +PLATFORM_CPPFLAGS += -march=armv7-m -mthumb -mno-unaligned-access
arch/arm/include/asm/arch-stm32f7/fmc.h new file +75 -0
75 lines not on this page · raw message
arch/arm/include/asm/armv7m.h +11 -0
@@ -51,10 +51,21 @@ struct v7m_mpu {#define V7M_MPU_CTRL_ENABLE (1 << 0)#define V7M_MPU_CTRL_HFNMIENA (1 << 1) +#define V7M_MPU_CTRL_ENABLE (1 << 0) +#define V7M_MPU_CTRL_DISABLE (0 << 0) +#define V7M_MPU_CTRL_HFNMIENA (1 << 1) +#define V7M_MPU_RASR_EN (1 << 0)#define V7M_MPU_RASR_SIZE_BITS 1#define V7M_MPU_RASR_SIZE_4GB (31 << V7M_MPU_RASR_SIZE_BITS) +#define V7M_MPU_RASR_SIZE_8MB (24 << V7M_MPU_RASR_SIZE_BITS) +#define V7M_MPU_RASR_TEX_SHIFT 19 +#define V7M_MPU_RASR_S_SHIFT 18 +#define V7M_MPU_RASR_C_SHIFT 17 +#define V7M_MPU_RASR_B_SHIFT 16#define V7M_MPU_RASR_AP_RW_RW (3 << 24) +#define V7M_MPU_RASR_XN_ENABLE (0 << 28) +#define V7M_MPU_RASR_XN_DISABLE (1 << 28)#endif /* !defined(__ASSEMBLY__) */ #endif /* ARMV7M_H */
arch/arm/mach-stm32/stm32f7/soc.c +49 -0
55 lines not on this page · raw message
board/st/stm32f746-disco/stm32f746-disco.c +217 -9
241 lines not on this page · raw message
include/configs/stm32f746-disco.h +4 -4
@@ -24,13 +24,13 @@* Configuration of the external SDRAM memory */ #define CONFIG_NR_DRAM_BANKS 1 -#define CONFIG_SYS_RAM_SIZE ((64 + 192) << 10) +#define CONFIG_SYS_RAM_SIZE (8 * 1024 * 1024)#define CONFIG_SYS_RAM_CS 1#define CONFIG_SYS_RAM_FREQ_DIV 2 -#define CONFIG_SYS_RAM_BASE 0x20000000 +#define CONFIG_SYS_RAM_BASE 0xC0000000#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_RAM_BASE -#define CONFIG_SYS_LOAD_ADDR 0x20000000 -#define CONFIG_LOADADDR 0x20000000 +#define CONFIG_SYS_LOAD_ADDR 0xC0400000 +#define CONFIG_LOADADDR 0xC0400000#define CONFIG_SYS_MAX_FLASH_SECT 8#define CONFIG_SYS_MAX_FLASH_BANKS 1
Signature · 1 line
2.9.0
PATCH 2/3 stm32: Add SDRAM support for stm32f746 discovery board
Quoted 9 lines · tnishinaga.dev at gmail.com
From: Toshifumi NISHINAGA <[email protected]>
This patch adds SDRAM support for stm32f746 discovery board. This patch depends on previous patch.
This patch is based on STM32F4 and emcraft's[1].[1]: https://github.com/EmcraftSystems/u-boot
Signed-off-by Toshifumi NISHINAGA <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160716/ffd2d765/attachment.sig>
PATCH 3/3 stm32: Change USART port to USART6 for stm32f746 discovery board
In reply to tnishinaga.dev at gmail.comFrom: Toshifumi NISHINAGA <[email protected]>
This change is to remove a halt at about 200KiB
while sending a large(1MiB) binary to a micro controller using USART1. USART1 is connected to a PC via an on-board ST-Link debugger that also functions as a USB-Serial converter.
However, it seems to loss some data occasionally.
So I changed the serial port to USART6 and connected it to the PC using an FTDI USB-Serial cable, therefore the transmission was successfully completed.
--- arch/arm/include/asm/arch-stm32f7/stm32_periph.h | 2 ++ arch/arm/mach-stm32/stm32f7/clock.c | 3 +++ board/st/stm32f746-disco/stm32f746-disco.c | 13 ++++++------- 3 files changed, 11 insertions(+), 7 deletions(-)
arch/arm/include/asm/arch-stm32f7/stm32_periph.h +2 -0
@@ -17,11 +17,13 @@enum periph_id {UART1_GPIOA_9_10 =0 ,UART2_GPIOD_5_6 , +UART6_GPIOC_6_7 , };enum periph_clock {USART1_CLOCK_CFG =0 ,USART2_CLOCK_CFG , +USART6_CLOCK_CFG ,GPIO_A_CLOCK_CFG ,GPIO_B_CLOCK_CFG ,GPIO_C_CLOCK_CFG ,
arch/arm/mach-stm32/stm32f7/clock.c +3 -0
@@ -245,6 +245,9 @@ void clock_setup(int peripheral)case USART1_CLOCK_CFG :setbits_le32 (RCC_BASE +RCC_APB2ENR ,RCC_ENR_USART1EN );break ; +case USART6_CLOCK_CFG : +setbits_le32 (RCC_BASE +RCC_APB2ENR ,RCC_ENR_USART6EN ); +break ;case GPIO_A_CLOCK_CFG :setbits_le32 (RCC_BASE +RCC_AHB1ENR ,RCC_ENR_GPIO_A_EN );break ;
board/st/stm32f746-disco/stm32f746-disco.c +6 -7
@@ -32,7 +32,7 @@ const struct stm32_gpio_ctl gpio_ctl_usart = { .otype = STM32_GPIO_OTYPE_PP, .speed = STM32_GPIO_SPEED_50M, .pupd = STM32_GPIO_PUPD_UP, - .af = STM32_GPIO_AF7 + .af = STM32_GPIO_AF8 };const struct stm32_gpio_ctl gpio_ctl_fmc = {
@@ -251,8 +251,8 @@ int dram_init(void) }static const struct stm32_gpio_dsc usart_gpio[] = { - {STM32_GPIO_PORT_A ,STM32_GPIO_PIN_9 },/* TX */ - {STM32_GPIO_PORT_B ,STM32_GPIO_PIN_7 },/* RX */ + {STM32_GPIO_PORT_C ,STM32_GPIO_PIN_6 },/* TX */ + {STM32_GPIO_PORT_C ,STM32_GPIO_PIN_7 },/* RX */ };int uart_setup_gpio (void )
@@ -260,8 +260,7 @@ int uart_setup_gpio(void)int i;int rv =0 ; -clock_setup (GPIO_A_CLOCK_CFG ); -clock_setup (GPIO_B_CLOCK_CFG ); +clock_setup (GPIO_C_CLOCK_CFG );for (i =0 ; i <ARRAY_SIZE (usart_gpio); i++) { rv =stm32_gpio_config (&usart_gpio[i], &gpio_ctl_usart);if (rv)
@@ -273,7 +272,7 @@ out: }static const struct stm32x7_serial_platdata serial_platdata = { - .base = (struct stm32_usart *)USART1_BASE , + .base = (struct stm32_usart *)USART6_BASE , .clock =CONFIG_SYS_CLK_FREQ , };
@@ -292,7 +291,7 @@ int board_early_init_f(void)int res; res =uart_setup_gpio (); -clock_setup (USART1_CLOCK_CFG ); +clock_setup (USART6_CLOCK_CFG );if (res)return res;
Signature · 1 line
2.9.0
PATCH 3/3 stm32: Change USART port to USART6 for stm32f746 discovery board
Quoted 11 lines · tnishinaga.dev at gmail.com
From: Toshifumi NISHINAGA <[email protected]>
This change is to remove a halt at about 200KiB
while sending a large(1MiB) binary to a micro controller using USART1. USART1 is connected to a PC via an on-board ST-Link debugger that also functions as a USB-Serial converter.
However, it seems to loss some data occasionally.
So I changed the serial port to USART6 and connected it to the PC using an FTDI USB-Serial cable, therefore the transmission was successfully completed.
Quoted 1 line
Signed-off-by Toshifumi NISHINAGA <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160716/14309ad8/attachment.sig>
PATCH 3/3 stm32: Change USART port to USART6 for stm32f746 discovery board
Hi Tom,
Quoted 21 lines
-----Original Message-----
From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Tom Rini
Sent: Saturday, July 16, 2016 6:51 AM
To: tnishinaga.dev at gmail.com
Cc: u-boot at lists.denx.de; gregkh at linuxfoundation.org
Subject: Re: [U-Boot] [U-Boot, 3/3] stm32: Change USART port to USART6 for stm32f746 discovery boardQuoted 11 lines · tnishinaga.dev at gmail.com
From: Toshifumi NISHINAGA <[email protected]>
This change is to remove a halt at about 200KiB while sending a large(1MiB) binary to a micro controller using USART1. USART1 is connected to a PC via an on-board ST-Link debugger that also functions as a USB-Serial converter.
However, it seems to loss some data occasionally.
So I changed the serial port to USART6 and connected it to the PC using an FTDI USB-Serial cable, therefore the transmission was successfully completed.
Quoted 3 lines
Quoted 1 line
Signed-off-by Toshifumi NISHINAGA <[email protected]>Applied to u-boot/master, thanks!
There is no serial/usb connector on discovery board to use USART6 signals.
With this patch, it is not possible to get discovery console without additional circuit. Please revert this patch. Also I did a quick check on transferring 2.6MB binary using usart1 without any issue.
Hi Toshifumi,
Please keep all involved developers in the "To" of the patch e-mails (checkout scripts/get_maintainer.pl).
Cheers,
Vikas
Quoted 3 lines
--
Tom
PATCH 3/3 stm32: Change USART port to USART6 for stm32f746 discovery board
Quoted 23 lines · Vikas MANOCHA
Hi Tom,
Quoted 21 lines
-----Original Message-----
From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Tom Rini
Sent: Saturday, July 16, 2016 6:51 AM
To: tnishinaga.dev at gmail.com
Cc: u-boot at lists.denx.de; gregkh at linuxfoundation.org
Subject: Re: [U-Boot] [U-Boot, 3/3] stm32: Change USART port to USART6 for stm32f746 discovery boardQuoted 11 lines · tnishinaga.dev at gmail.com
From: Toshifumi NISHINAGA <[email protected]>
This change is to remove a halt at about 200KiB while sending a large(1MiB) binary to a micro controller using USART1. USART1 is connected to a PC via an on-board ST-Link debugger that also functions as a USB-Serial converter.
However, it seems to loss some data occasionally.
So I changed the serial port to USART6 and connected it to the PC using an FTDI USB-Serial cable, therefore the transmission was successfully completed.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Toshifumi NISHINAGA <[email protected]>Applied to u-boot/master, thanks!
There is no serial/usb connector on discovery board to use USART6 signals.
With this patch, it is not possible to get discovery console without additional circuit. Please revert this patch. Also I did a quick check on transferring 2.6MB binary using usart1 without any issue.
Done, sorry about that.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160721/eafad2e4/attachment.sig>
PATCH 3/3 stm32: Change USART port to USART6 for stm32f746 discovery board
Thanks Tom
Quoted 39 lines · Tom Rini
Quoted 25 lines · Vikas MANOCHA
Hi Tom,
Quoted 21 lines
-----Original Message-----
From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Tom Rini
Sent: Saturday, July 16, 2016 6:51 AM
To: tnishinaga.dev at gmail.com
Cc: u-boot at lists.denx.de; gregkh at linuxfoundation.org
Subject: Re: [U-Boot] [U-Boot, 3/3] stm32: Change USART port to USART6 for stm32f746 discovery boardQuoted 13 lines · tnishinaga.dev at gmail.com
From: Toshifumi NISHINAGA <[email protected]>
This change is to remove a halt at about 200KiB while sending a large(1MiB) binary to a micro controller using USART1. USART1 is connected to a PC via an on-board ST-Link debugger that also functions as a USB-Serial converter.
However, it seems to loss some data occasionally.
So I changed the serial port to USART6 and connected it to the PC using an FTDI USB-Serial cable, therefore the transmission was successfully completed.Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Toshifumi NISHINAGA <[email protected]>Applied to u-boot/master, thanks!
There is no serial/usb connector on discovery board to use USART6 signals.
With this patch, it is not possible to get discovery console without additional circuit. Please revert this patch. Also I did a quick check on transferring 2.6MB binary using usart1 without any issue.Done, sorry about that.
Signature · 1 line
Tom
PATCH 3/3 stm32: Change USART port to USART6 for stm32f746 discovery board
In reply to Vikas MANOCHAHi Vikas,
2016-07-21 6:59 GMT+09:00 Vikas MANOCHA <[email protected]>:
Quoted 27 lines
Hi Tom,
Quoted 6 lines
-----Original Message-----
From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Tom Rini
Sent: Saturday, July 16, 2016 6:51 AM
To: tnishinaga.dev at gmail.com
Cc: u-boot at lists.denx.de; gregkh at linuxfoundation.org
Subject: Re: [U-Boot] [U-Boot, 3/3] stm32: Change USART port to USART6for
Quoted 3 lines
stm32f746 discovery board
On Fri, Jul 08, 2016 at 01:02:26AM +0900, tnishinaga.dev at gmail.com
Quoted 14 lines · wrote:
Quoted 13 lines
From: Toshifumi NISHINAGA <[email protected]>
This change is to remove a halt at about 200KiB while sending a large(1MiB) binary to a micro controller using USART1. USART1 is connected to a PC via an on-board ST-Link debugger that also functions as a USB-Serial converter.
However, it seems to loss some data occasionally.
So I changed the serial port to USART6 and connected it to the PC using an FTDI USB-Serial cable, therefore the transmission was successfully completed.Signed-off-by Toshifumi NISHINAGA <[email protected]>
Quoted 8 lines
Quoted 1 line
Applied to u-boot/master, thanks!
There is no serial/usb connector on discovery board to use USART6 signals. With this patch, it is not possible to get discovery console without additional circuit. Please revert this patch.
Also I did a quick check on transferring 2.6MB binary using usart1 without any issue.
I'm so sorry for the lack of confirmation.
I checked on transferring 1.5MB data using usart1 without any issue. Thank you for checking my patch.
Quoted 5 lines
Hi Toshifumi,
Please keep all involved developers in the "To" of the patch e-mails (checkoutscripts/get_maintainer.pl).
I understand.
Thank you.
Cheers,
Toshifumi