rt-thread/bsp/lpc54608-LPCXpresso
zheng-chow ed75173cac Fix the SD Card and EMAC issue:
1. The issue concerns sdmmc library bug (I finally solved) in SD_Init() in the file sdmmc/src/fsl_sd.c:SD_SelectBusTiming()
calls SD_SwitchFunction() which sets block size to 64bytes (512bits).Therefore SD_SetBlockSize(card, FSL_SDMMC_DEFAULT_BLOCK_SIZE)
should be called again before SD_Init() exits.
2. The issue is wrong variable in drv_emac.c:lpc_emac_tx(), and the wrong data length of send packet
to cause the send failure.

Signed-off-by: zheng-chow <sernia.zhou@foxmail.com>
2018-06-04 18:14:59 +08:00
..
SDK_2.2_LPCXpresso54608 Fix wrong memcpy parameter 2018-03-02 11:46:40 +01:00
applications Fix IAR Version Problem 2018-01-10 15:10:02 +08:00
drivers Fix the SD Card and EMAC issue: 2018-06-04 18:14:59 +08:00
.config [BSP] Add Kconfig for lpc408x/stm32f10x/stm32f20x/stm32f40x etc 2018-03-04 22:35:07 +08:00
Kconfig [Kconfig] Rename all of KConfig files to 'Kconfig' 2017-11-30 20:12:53 +08:00
LPC54608J512_flash.icf [bsp] add iar support for lpc54608 and fix sdram bug 2017-11-16 11:05:32 +08:00
LPC54608J512_flash.scf [bsp] lpc54608 update MDK scatter file 2017-11-16 11:05:32 +08:00
README.md [bsp][lpc54608-LPCXpresso] add README.md 2018-05-30 21:43:33 +08:00
SConscript [bsp] Add LPC54608 2017-08-08 11:56:50 +08:00
SConstruct [bsp] fix scons + armcc build error 2017-11-24 20:20:12 +08:00
link.lds [bsp] support GCC for RT_USING_MODULE 2017-11-16 11:05:32 +08:00
project.ewd [bsp] add iar support for lpc54608 and fix sdram bug 2017-11-16 11:05:32 +08:00
project.ewp [BSP] Update project files 2017-12-31 21:45:32 +08:00
project.ewt [bsp] add iar support for lpc54608 and fix sdram bug 2017-11-16 11:05:32 +08:00
project.eww [BSP] Update project files 2017-12-31 21:45:32 +08:00
project.uvoptx [bsp] fix lpc54608 printf bug 2017-11-29 18:35:13 +08:00
project.uvprojx [BSP] Update project files 2017-12-31 21:45:32 +08:00
rtconfig.h [BSP] Add Kconfig for lpc408x/stm32f10x/stm32f20x/stm32f40x etc 2018-03-04 22:35:07 +08:00
rtconfig.py [bsp] fix scons + armcc build error 2017-11-24 20:20:12 +08:00
template.ewp [bsp] add iar support for lpc54608 and fix sdram bug 2017-11-16 11:05:32 +08:00
template.uvoptx [bsp] update template and project after enable RT_USING_MODULE 2017-11-16 11:05:32 +08:00
template.uvprojx [bsp] update template and project after enable RT_USING_MODULE 2017-11-16 11:05:32 +08:00

README.md

LPCXpresso54608

简介

LPCXpresso54608是NXP推出的一款基于LPC54608系列的评估板板载资源主要如下

硬件 描述
芯片型号 LPC54608J512
CPU ARM Cortex M4
主频 180M
片内SRAM 200K(160KSRAM + 32K I-code/D-code SRAM + 8K USB SRM)
片外SDRAM 8M
片内FLASH 512K

编译说明

LPCXpresso54608板级包支持MDK4﹑MDK5﹑IAR开发环境和GCC编译器以下是具体版本信息

IDE/编译器 已测试版本
MDK4 MDK4.74
MDK5 MDK524a
IAR IAR 7.60~IAR8.20
GCC GCC 5.4.1 20160919 (release)

烧写及执行

供电方式:使用 Micro USB 连接电脑和板子上的J8(Debug Link)。

下载程序开发板自带了板载CMSIS-DAP仿真器在IDE里选择CMSIS-DAP即可。

串口连接板载CMSIS-DAP仿真器连接到LPC54608J512的UART0在PC上打开CMSIS-DAP对应的UART即可。

运行结果

如果编译 & 烧写无误当复位设备后会在串口上看到RT-Thread的启动logo信息

 \ | /
- RT -     Thread Operating System
 / | \     3.0.4 build May 22 2018
 2006 - 2018 Copyright by rt-thread team
finsh />

驱动支持情况及计划

驱动 支持情况 备注
UART 支持 只支持UART0
GPIO 未支持
IIC 支持 只支持IIC1
SPI 未支持 SPI0~5
ETH 支持
LCD 支持 支持FrameBuffer模式LCD显示
TOUCH 支持 ft5406触摸芯片
SDRAM 支持

IO在板级支持包中的映射情况

IO号 板级包中的定义
P3_14 LED1
P3_3 LED2
P2_2 LED3
P0_6 SW2
P0_5 SW3
P1_1 SW4

联系人信息

维护人:tanek