搜索
bottom↓
回复: 22

怎么我配置Luminary的bootloader后,当选择 #define UART_AUTOBAUD后,就通过串口就现

[复制链接]

出0入0汤圆

发表于 2010-1-6 19:47:09 | 显示全部楼层 |阅读模式
怎么我配置Luminary的bootloader后,当选择  #define UART_AUTOBAUD后,就通过串口就现在不了
//*****************************************************************************
//
// bl_config.h - The configurable parameters of the boot loader.
//
// Copyright (c) 2006-2009 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for use solely and
// exclusively on TI's microcontroller products. The software is owned by
// TI and/or its suppliers, and is protected under applicable copyright
// laws. You may not combine this software with "viral" open-source
// software in order to form a larger program.
//
// THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
// NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
// NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
// CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
// DAMAGES, FOR ANY REASON WHATSOEVER.
//
// This is part of revision 5450 of the Stellaris Firmware Development Package.
//
//*****************************************************************************

#ifndef __BL_CONFIG_H__
#define __BL_CONFIG_H__



#define VTABLE_START_ADDRESS   0x1000
#define FLASH_PAGE_SIZE        1024
#define ewarm 1
//*****************************************************************************
//
// The following defines are used to configure the operation of the boot
// loader.  For each define, its interactions with other defines are described.
// First is the dependencies (i.e. the defines that must also be defined if it
// is defined), next are the exclusives (i.e. the defines that can not be
// defined if it is defined), and finally are the requirements (i.e. the
// defines that must be defined if it is defined).
//
// The following defines must be defined in order for the boot loader to
// operate:
//
//     One of ENET_ENABLE_UPDATE, I2C_ENABLE_UPDATE, SSI_ENABLE_UPDATE,
//         CAN_ENABLE_UPDATE or UART_ENABLE_UPDATE
//     APP_START_ADDRESS
//     STACK_SIZE
//     BUFFER_SIZE
//
//*****************************************************************************

//*****************************************************************************
//
// This defines the crystal frequency used by the microcontroller running the
// boot loader.  If this is unknown at the time of production, then use the
// UART_AUTOBAUD feature to properly configure the UART.  This value must be
// defined when using CAN or Ethernet for the update.  For CAN, only 1 MHz, 2
// MHz, 4 MHz, 5 MHz, 6 MHz, 8 MHz, 10 MHz, 12 MHz, or 16 MHz crystals are
// supported.
//
// Depends on: None
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
#define CRYSTAL_FREQ            6000000

//*****************************************************************************
//
// This enables the boosting of the LDO voltage to 2.75V.  For boot loader
// configurations that enable the PLL (i.e. using the Ethernet port) on a part
// that has the PLL errata, this should be enabled.  This applies to revision
// A2 of Fury-class devices.
//
// Depends on: None
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define BOOST_LDO_VOLTAGE

//*****************************************************************************
//
// The starting address of the application.  This must be a multiple of 1024
// bytes (making it aligned to a page boundary).  A vector table is expected at
// this location, and the perceived validity of the vector table (stack located
// in SRAM, reset vector located in flash) is used as an indication of the
// validity of the application image.
//
// The flash image of the boot loader must not be larger than this value.
//
// Depends on: None
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
#define APP_START_ADDRESS       0x00000800

//*****************************************************************************
//
// The amount of space at the end of flash to reserved.  This must be a
// multiple of 1024 bytes (making it aligned to a page boundary).  This
// reserved space is not erased when the application is updated, providing
// non-volatile storage that can be used for parameters.
//
// Depends on: None
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define FLASH_RSVD_SPACE        0x00000400

//*****************************************************************************
//
// The number of words of stack space to reserve for the boot loader.
//
// Depends on: None
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
#define STACK_SIZE              48

//*****************************************************************************
//
// The number of words in the data buffer used for receiving packets.  This
// value must be at least 3.  If using autobauding on the UART, this must be at
// least 20.  The maximum usable value is 65 (larger values will result in
// unused space in the buffer).
//
// Depends on: None
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
#define BUFFER_SIZE             20

//*****************************************************************************
//
// Enables updates to the boot loader.  Updating the boot loader is an unsafe
// operation since it is not fully fault tolerant (losing power to the device
// part way though could result in the boot loader no longer being present in
// flash).
//
// Depends on: None
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
#define ENABLE_BL_UPDATE

//*****************************************************************************
//
// This definition will cause the the boot loader to erase the entire flash on
// updates to the boot loader or to erase the entire application area when the
// application is updated.  This erases any unused sections in the flash before
// the firmware is updated.
//
// Depends on: None
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define FLASH_CODE_PROTECTION

//*****************************************************************************
//
// Enables the call to decrypt the downloaded data before writing it into
// flash.  The decryption routine is empty in the reference boot loader source,
// which simply provides a placeholder for adding an actual decrypter.
//
// Depends on: None
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define ENABLE_DECRYPTION

//*****************************************************************************
//
// Enables the pin-based forced update check.  When enabled, the boot loader
// will go into update mode instead of calling the application if a pin is read
// at a particular polarity, forcing an update operation.  In either case, the
// application is still able to return control to the boot loader in order to
// start an update.
//
// Depends on: None
// Exclusive of: None
// Requires: FORCED_UPDATE_PERIPH, FORCED_UPDATE_PORT, FORCED_UPDATE_PIN,
//           FORCED_UPDATE_POLARITY
//
//*****************************************************************************
//#define ENABLE_UPDATE_CHECK

//*****************************************************************************
//
// The GPIO module to enable in order to check for a forced update.  This will
// be one of the SYSCTL_RCGC2_GPIOx values, where "x" is replaced with the port
// name (such as B).  The value of "x" should match the value of "x" for
// FORCED_UPDATE_PORT.
//
// Depends on: ENABLE_UPDATE_CHECK
// Exclusive of: None
// Requries: None
//
//*****************************************************************************/
//#define FORCED_UPDATE_PERIPH    SYSCTL_RCGC2_GPIOB

//*****************************************************************************
//
// The GPIO port to check for a forced update.  This will be one of the
// GPIO_PORTx_BASE values, where "x" is replaced with the port name (such as
// B).  The value of "x" should match the value of "x" for
// FORCED_UPDATE_PERIPH.
//
// Depends on: ENABLE_UPDATE_CHECK
// Exclusive of: None
// Requries: None
//
//*****************************************************************************
//#define FORCED_UPDATE_PORT      GPIO_PORTB_BASE

//*****************************************************************************
//
// The pin to check for a forced update.  This is a value between 0 and 7.
//
// Depends on: ENABLE_UPDATE_CHECK
// Exclusive of: None
// Requries: None
//
//*****************************************************************************
//#define FORCED_UPDATE_PIN       4

//*****************************************************************************
//
// The polarity of the GPIO pin that results in a forced update.  This value
// should be 0 if the pin should be low and 1 if the pin should be high.
//
// Depends on: ENABLE_UPDATE_CHECK
// Exclusive of: None
// Requries: None
//
//*****************************************************************************
//#define FORCED_UPDATE_POLARITY  0

//*****************************************************************************
//
// Selects the UART as the port for communicating with the boot loader.
//
// Depends on: None
// Exclusive of: ENET_ENABLE_UPDATE, I2C_ENABLE_UPDATE, SSI_ENABLE_UPDATE,
// CAN_ENABLE_UPDATE and USB_ENABLE_UPDATE
// Requires: UART_AUTOBAUD or UART_FIXED_BAUDRATE
//
//*****************************************************************************
#define UART_ENABLE_UPDATE

//*****************************************************************************
//
// Enables automatic baud rate detection.  This can be used if the crystal
// frequency is unknown, or if operation at different baud rates is desired.
//
// Depends on: UART_ENABLE_UPDATE
// Exclusive of: UART_FIXED_BAUDRATE
// Requires: None
//
//*****************************************************************************
#define UART_AUTOBAUD

//*****************************************************************************
//
// Selects the baud rate to be used for the UART.
//
// Depends on: UART_ENABLE_UPDATE, CRYSTAL_FREQ
// Exclusive of: UART_AUTOBAUD
// Requires: None
//
//*****************************************************************************
//#define UART_FIXED_BAUDRATE     115200

//*****************************************************************************
//
// Selects the SSI port as the port for communicating with the boot loader.
//
// Depends on: None
// Exclusive of: ENET_ENABLE_UPDATE, I2C_ENABLE_UPDATE, UART_ENABLE_UPDATE,
// CAN_ENABLE_UPDATE and USB_ENABLE_UPDATE
// Requires: None
//
//*****************************************************************************
//#define SSI_ENABLE_UPDATE

//*****************************************************************************
//
// Selects the I2C port as the port for communicating with the boot loader.
//
// Depends on: None
// Exclusive of: ENET_ENABLE_UPDATE, SSI_ENABLE_UPDATE, UART_ENABLE_UPDATE,
// CAN_ENABLE_UPDATE and USB_ENABLE_UPDATE
// Requires: I2C_SLAVE_ADDR
//
//*****************************************************************************
//#define I2C_ENABLE_UPDATE

//*****************************************************************************
//
// Specifies the I2C address of the boot loader.
//
// Depends on: I2C_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define I2C_SLAVE_ADDR          0x42

//*****************************************************************************
//
// Selects the CAN port as the port for communicating with the boot loader.
//
// Depends on: None
// Exclusive of: I2C_ENABLE_UPDATE, SSI_ENABLE_UPDATE, UART_ENABLE_UPDATE,
// ENET_ENABLE_UPDATE and USB_ENABLE_UPDATE.
// Requires: CAN_RX_PERIPH, CAN_RX_PORT, CAN_RX_PIN, CAN_TX_PERIPH,
// CAN_TX_PORT, CAN_TX_PIN, CAN_BIT_RATE, CRYSTAL_FREQ.
//
//*****************************************************************************
//#define CAN_ENABLE_UPDATE

//*****************************************************************************
//
// Specifies the GPIO peripheral associated with CAN0 RX pin used by the boot
// loader.
//
// Depends on: CAN_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define CAN_RX_PERIPH           SYSCTL_RCGC2_GPIOA

//*****************************************************************************
//
// Specifies the GPIO port associated with CAN0 RX pin used by the boot loader.
//
// Depends on: CAN_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define CAN_RX_PORT             GPIO_PORTA_BASE

//*****************************************************************************
//
// Specifies the GPIO pin number associated with CAN0 RX pin used by the boot
// loader.
//
// Depends on: CAN_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define CAN_RX_PIN              4

//*****************************************************************************
//
// Specifies the GPIO peripheral associated with CAN0 TX pin used by the boot
// loader.
//
// Depends on: CAN_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define CAN_TX_PERIPH           SYSCTL_RCGC2_GPIOA

//*****************************************************************************
//
// Specifies the GPIO port associated with CAN0 TX pin used by the boot loader.
//
// Depends on: CAN_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define CAN_TX_PORT             GPIO_PORTA_BASE

//*****************************************************************************
//
// Specifies the GPIO pin number associated with CAN0 TX pin used by the boot
// loader.
//
// Depends on: CAN_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define CAN_TX_PIN              5

//*****************************************************************************
//
// Specifies the bit rate for CAN0 used by the boot loader.  This must be one
// of 20000, 50000, 125000, 250000, 500000, or 1000000.  The CAN bit rate must
// be less than or equal to the crystal frequency divided by 8
// (CRYSTAL_FREQ / 8).
//
// Depends on: CAN_ENABLE_UPDATE
// Exclusive of: None
// Requires: CRYSTAL_FREQ
//
//*****************************************************************************
//#define CAN_BIT_RATE            1000000

//*****************************************************************************
//
// Selects Ethernet update via the BOOTP/TFTP protocol.
//
// Depends on: None
// Exclusive of: I2C_ENABLE_UPDATE, SSI_ENABLE_UPDATE, UART_ENABLE_UPDATE,
// CAN_ENABLE_UPDATE and USB_ENABLE_UPDATE.
// Requires: CRYSTAL_FREQ
//
//*****************************************************************************
//#define ENET_ENABLE_UPDATE

//*****************************************************************************
//
// Selects if the Ethernet LEDs should be enabled.
//
// Depends on: ENET_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define ENET_ENABLE_LEDS

//*****************************************************************************
//
// Selects the Ethernet MAC address.  If not specified, the MAC address is
// taken from the user registers.
//
// Depends on: ENET_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define ENET_MAC_ADDR0          0x00
//#define ENET_MAC_ADDR1          0x00
//#define ENET_MAC_ADDR2          0x00
//#define ENET_MAC_ADDR3          0x00
//#define ENET_MAC_ADDR4          0x00
//#define ENET_MAC_ADDR5          0x00

//*****************************************************************************
//
// Sets the name of the BOOTP server to use.  This can be used to request that
// a particular BOOTP server respond to our request; the value will be either
// the server's name, or a nickname used by that server.  If not defined then
// any BOOTP server is allowed to respond.
//
// Depends on: ENET_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define ENET_BOOTP_SERVER       "stellaris"

//*****************************************************************************
//
// Selects USB update via the Device Firmware Upgrade class.
//
// Depends on: None
// Exclusive of: I2C_ENABLE_UPDATE, SSI_ENABLE_UPDATE, UART_ENABLE_UPDATE,
// CAN_ENABLE_UPDATE and ENET_ENABLE_UPDATE.
// Requires: CRYSTAL_FREQ, USB_PRODUCT_ID, USB_VENDOR_ID, USB_MAX_POWER and
// USB_BUS_POWERED.
//
//*****************************************************************************
//#define USB_ENABLE_UPDATE

//*****************************************************************************
//
// Selects the USB product ID published in the device descriptor.
//
// Depends on: USB_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define USB_PRODUCT_ID 0x00FF

//*****************************************************************************
//
// Selects the USB vendor ID published in the device descriptor.
//
// Depends on: USB_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define USB_VENDOR_ID 0x1cbe

//*****************************************************************************
//
// Selects the BCD USB device release number published in the device
// descriptor.
//
// Depends on: USB_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define USB_DEVICE_ID 0x0001

//*****************************************************************************
//
// Sets the maximum power consumption that the DFU device will report to the
// USB host in the configuration descriptor.  Units are milliamps.
//
// Depends on: USB_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define USB_MAX_POWER 500

//*****************************************************************************
//
// Determines whether the DFU device reports to the host that it is self
// powered (defined as 0) or bus powered (defined as 1).
//
// Depends on: USB_ENABLE_UPDATE
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define USB_BUS_POWERED 1

//*****************************************************************************
//
// Specifies the GPIO peripheral associated with the USB host/device mux.
//
// Depends on: USB_ENABLE_UPDATE
// Exclusive of: None
// Requires: USB_MUX_PERIPH, USB_MUX_PORT, USB_MUX_PIN, USB_MUX_DEVICE
//
//*****************************************************************************
//#define USB_HAS_MUX

//*****************************************************************************
//
// Specifies the GPIO peripheral associated with the USB host/device mux.
//
// Depends on: USB_ENABLE_UPDATE, USB_HAS_MUX
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define USB_MUX_PERIPH           SYSCTL_RCGC2_GPIOH

//*****************************************************************************
//
// Specifies the GPIO port associated with the USB host/device mux.
//
// Depends on: USB_ENABLE_UPDATE, USB_HAS_MUX
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define USB_MUX_PORT             GPIO_PORTH_BASE

//*****************************************************************************
//
// Specifies the GPIO pin number used to switch the USB host/device mux.
//
// Depends on: USB_ENABLE_UPDATE, USB_HAS_MUX
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define USB_MUX_PIN              2

//*****************************************************************************
//
// Specifies the state to set the GPIO pin to to select USB device mode via
// the USB host/device mux.  Valid values are 1 (high) or 0 (low).
//
// Depends on: USB_ENABLE_UPDATE, USB_HAS_MUX
// Exclusive of: None
// Requires: None
//
//*****************************************************************************
//#define USB_MUX_DEVICE           1


#endif // __BL_CONFIG_H__

阿莫论坛20周年了!感谢大家的支持与爱护!!

曾经有一段真挚的爱情摆在我的面前,我没有珍惜,现在想起来,还好我没有珍惜……

出0入0汤圆

 楼主| 发表于 2010-1-6 19:50:54 | 显示全部楼层
这是怎么回事啊,有谁知道,搞了一天了

当我配置为如下就可以了
//*****************************************************************************
//
// Enables automatic baud rate detection.  This can be used if the crystal
// frequency is unknown, or if operation at different baud rates is desired.
//
// Depends on: UART_ENABLE_UPDATE
// Exclusive of: UART_FIXED_BAUDRATE
// Requires: None
//
//*****************************************************************************
//#define UART_AUTOBAUD

//*****************************************************************************
//
// Selects the baud rate to be used for the UART.
//
// Depends on: UART_ENABLE_UPDATE, CRYSTAL_FREQ
// Exclusive of: UART_AUTOBAUD
// Requires: None
//
//*****************************************************************************
#define UART_FIXED_BAUDRATE     115200


难道不能在不同的波特率下,工作,不可能啊,顺便说一个我使用的EASY8962开发板

出0入0汤圆

发表于 2010-1-6 20:16:47 | 显示全部楼层
我没有用过EASY8962,我帮你测测我的LM3S8962的板子,#define CRYSTAL_FREQ    6000000 先把这个屏蔽掉看看

出0入0汤圆

发表于 2010-1-6 21:37:02 | 显示全部楼层
你试试看这个:点击此处下载 ourdev_523483.rar(文件大小:1K) (原文件名:serial_flash_loader.rar)

出0入0汤圆

 楼主| 发表于 2010-1-7 23:19:18 | 显示全部楼层
小马,还是不行,不知道怎么回事

出0入0汤圆

发表于 2010-1-8 08:56:50 | 显示全部楼层
1.某些版本使用PLL的话,LDO需要定义到2.75V :bl_config.h中 #define BOOST_LDO_VOLTAGE           2.75
2. 要是没有设置向量表偏移的话,这两个定义的位置应该一致
    #define VTABLE_START_ADDRESS   0x1000
    #define APP_START_ADDRESS       0x00000800
  你先看我操作的视频,等有时间我再看看代码
点击此处下载 ourdev_523813.rar(文件大小:6.17M) (原文件名:auto rate.rar)

出0入0汤圆

 楼主| 发表于 2010-1-9 11:58:06 | 显示全部楼层
我看了软件包里面的文档,  重新设置了
  #define VTABLE_START_ADDRESS   0x800
  #define APP_START_ADDRESS      0x00000800  

但是没有配置 #define BOOST_LDO_VOLTAGE           2.75

我再配置一下试试,不过还是不行,我测试了上面帖子给的BIN文件,不能下载


小马哥,有时间帮忙测试一下

出0入0汤圆

 楼主| 发表于 2010-1-10 15:59:50 | 显示全部楼层
今天上了luminary的官网,在论坛上看到IAR5.31和5.4在编译bootloader的时候有问题,是IAR的BUG
正在下载IAR5.41,看看重新编译怎么样,编译好了,还是不能


期盼谁能解决?

出0入0汤圆

 楼主| 发表于 2010-1-12 13:03:25 | 显示全部楼层
我配置#define UART_AUTOBAUD  后
我发现当我反复复位几次mcu的时候,在复位的过程中,点击升级,竟然有时能够升级了,我测试了几次,时间要把握好,】


谁能解惑???

出0入0汤圆

发表于 2010-1-12 13:18:09 | 显示全部楼层
(⊙o⊙)…我拿keil试试

出0入0汤圆

 楼主| 发表于 2010-1-12 20:46:11 | 显示全部楼层
【9楼】 mawenwei 小马

调试的怎么样了,我问了下zlg的技术,他们晚上会发可以使用的程序过来,不过到现在还没有收到邮件

出0入0汤圆

发表于 2010-1-12 21:15:37 | 显示全部楼层
你就用固定波特试,因为PC下载软件用55来试,时间错过就找不到,反正引导程序用固定波特并无大碍

出0入0汤圆

发表于 2010-1-13 08:40:14 | 显示全部楼层
应该上位机发出同步命令以后,不停地尝试一段时间才会退出的,我还没来得及测keil的

出0入0汤圆

发表于 2010-1-14 16:29:28 | 显示全部楼层
……搞定了没?我测试了,也修改了,也是无法同步,原因不明

出0入0汤圆

发表于 2010-1-14 16:39:54 | 显示全部楼层
我们生产已经开始用串口下载了上百套了,引导固定115200,你们可以用串口抓包工具软件贴出结果,看哪一步过不去导致

出0入0汤圆

发表于 2010-1-14 16:42:01 | 显示全部楼层
或是用串口调试软件不同波特发16进制方式03 20 20,看哪个波特能得到返回。实在不行我考虑写个论文发表

出0入0汤圆

发表于 2010-1-14 16:48:27 | 显示全部楼层
关注

出0入0汤圆

发表于 2010-1-14 17:24:06 | 显示全部楼层
回复【14楼】888888888888
我们生产已经开始用串口下载了上百套了,引导固定115200,你们可以用串口抓包工具软件贴出结果,看哪一步过不去导致
-----------------------------------------------------------------------

固定的话没有问题,你写个自动波特率的吧,呵呵

出0入0汤圆

发表于 2010-1-14 18:41:13 | 显示全部楼层
-----------------------------------------------------------------------
固定的话没有问题,你写个自动波特率的吧,呵呵
-----------------------------------------------------------------------

不知道你用自动波特率的理由,不是自找麻烦吗?

出0入0汤圆

发表于 2010-4-29 15:13:00 | 显示全部楼层
回复【12楼】mawenwei 小马
-----------------------------------------------------------------------

我想问一下,您的这个serial_flash_loader.rar中的bin文件下载以后能用在LM6911上吗?设置的偏移地址是0x00000800吗。我用了一个点亮led的程序,设定这个偏移地址下载后,为什么看不到程序的运行结果。希望您能不吝赐教。谢谢。。。

出0入0汤圆

发表于 2010-5-7 10:34:30 | 显示全部楼层
回复【19楼】tryafu

回复【12楼】mawenwei 小马
-----------------------------------------------------------------------
我想问一下,您的这个serial_flash_loader.rar中的bin文件下载以后能用在lm6911上吗?设置的偏移地址是0x00000800吗。我用了一个点亮led的程序,设定这个偏移地址下载后,为什么看不到程序的运行结果。希望您能不吝赐教。谢谢。。。
-----------------------------------------------------------------------

我发的这个,偏移地址是0x0000 0000 ,也就是说只能使用一次

出0入0汤圆

发表于 2011-6-14 12:28:52 | 显示全部楼层
回复【20楼】mawenwei 小马
回复【19楼】tryafu  
回复【12楼】mawenwei 小马  
-----------------------------------------------------------------------  
我想问一下,您的这个serial_flash_loader.rar中的bin文件下载以后能用在lm6911上吗?设置的偏移地址是0x00000800吗。我用了一个点亮led的程序,设定这个偏移地址下载后,为什么看不到程序的运行结果。希望您能不吝赐教。谢谢。。。
-----------------------------------------------------------------------
我发的这个,偏移地址是0x0000 0000 ,也就是说只能使用一次
-----------------------------------------------------------------------
为何只能使用一次?

出0入0汤圆

发表于 2011-8-16 11:29:13 | 显示全部楼层
回复【21楼】swi-5
-----------------------------------------------------------------------

小马的意思是把用户程序地址是设定在0x0000_0000,下载后用户程序覆盖了bootload代码。是这个意思吗?
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-6-2 02:25

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表