//------------------------------------------------------------------------
// Readme.txt
//------------------------------------------------------------------------
This project is configure to get you up and running quickly using
CodeWarrior with the Freescale MCF52255 board.
This project provides full support for the selected board.
The created project provides Standard IO Support through console and terminal window.
Sample code for the following language:
- C
//------------------------------------------------------------------------
// Memory Maps
//------------------------------------------------------------------------
The Hardware has the following memory map:
# MCF52255 Derivative Memory map definitions from linker command files:
# __IPSBAR, __RAMBAR, __RAMBAR_SIZE, __FLASHBAR, __FLASHBAR_SIZE linker
# symbols must be defined in the linker command file.
# Memory Mapped Registers (IPSBAR= 0x40000000)
___IPSBAR = 0x40000000;
# 64 Kbytes Internal SRAM
___RAMBAR = 0x20000000;
___RAMBAR_SIZE = 0x00010000;
# 512 KByte Internal Flash Memory
___FLASHBAR = 0x00000000;
___FLASHBAR_SIZE = 0x00080000;
//------------------------------------------------------------------------
// Project Structure
//------------------------------------------------------------------------
The project generated contains various files/groups:
- readme.txt: information for this project
- Sources: application source codes, user customizable startup
code, uart library, exception table
- Includes: derivative and board header files, ...
- Libs: runtime and libs
- Project Settings: linker command files for the different build
targets, the initialization and memory configuration files for
the hardware debugging, the common startup code, etc...
//------------------------------------------------------------------------
// Build Targets
//------------------------------------------------------------------------
- CONSOLE_INTERNAL_RAM:
This project target is setup to load and debug code from internal RAM.
It should be used during your application development.
The application outputs to the CodeWarrior's console window.
- INTERNAL_RAM:
This project target is setup to load and debug code from internal RAM.
It should be used during your application development.
This is the very basic project that outputs to the UART.
You needs to connect a Terminal Program to see the output.
- INTERNAL_FLASH:
This project target is setup to load and debug code in Internal FLASH.
This is the very basic project that outputs to the UART. User needs
to connect the terminal to see the output.
===================================================================
WARNING regarding debugging new project wizard code with CCS-SIM
===================================================================
The CCS-SIM is an instruction set simulator, it does not implement
any peripherals.
The new project generated by the wizard are using startup code
performing some hardware peripheral initializations.
When debugging with the CCS-SIM it might happen that the simulation
stuck on loop using non implemented peripheral register flag as
condition (PLL initialization as example).
In this case, you should either:
- move the PC to next statement
- use a skip point
- define a simulator specific macro which used when define allos you
to comment out the unwanted code in order to debug with CCS-SIM
===================================================================
WARNING regarding code located in RAM
===================================================================
Many possible ColdFire target processors have an external bus, so
you can use large external RAM devices for debugging applications
during development. But some processors do not have an external
bus, so you must accommodate applications in on-chip memory.
Although this on-chip RAM accommodates this CodeWarrior project,
it probably is too small for full development of your application.
Accordingly, for a processor without external bus, you should locate
your applications in flash memory.
//------------------------------------------------------------------------
// Flashing the code
//------------------------------------------------------------------------
1. Select the appropriate project target and build it
2. Make sure the correct remote connection is selected in the Remote
Connection debugger panel
3. In the CodeWarrior IDE menu, select Project > Set Default Project
and select your project
4. In the CodeWarrior IDE menu, select Project > Set Default Target
and select the project target that has the code you want to flash
5. In the CodeWarrior IDE menu, select Tools > Flash Programmer
6. Go to the flash programmer Target Configuration panel, click Load
Settings
7. Browse to the <your project location>\cfg sub folder and
select the flash settings xml file matching your build target
8. Check that Use Custom Settings checkbox is not selected
9. Go to the Erase/Blank Check panel, select the All Sectors option and
click Erase
10. Go to Program/Verify panel, click Program
11. Your code should now be flashed
//------------------------------------------------------------------------
// Terminal Settings
//------------------------------------------------------------------------
In case the UART is supported, the terminal should be setup with:
- 19200 bauds,
- 8 data bits,
- no parity,
- 1 stop bit,
- no flow control.
Please check this file in the project.
//------------------------------------------------------------------------
// Getting Started
//------------------------------------------------------------------------
To build/debug your project, use the CodeWarrior IDE menu Project > Debug
or press F5. This will launch the debugger. Press again F5 in the
debugger (or the CodeWarrior IDE menu Project > Run) to start the
application. The CodeWarrior IDE menu Project > Break stops the
application.
//------------------------------------------------------------------------
// Adding your own code
//------------------------------------------------------------------------
Once everything is working as expected, you can begin adding your own code
to the project. Keep in mind that we provide this as an example of how to
get up and running quickly with CodeWarrior. There are certainly other
ways to handle interrupts and set up your linker command file. Feel free
to modify any of the source files provided.
//------------------------------------------------------------------------
// Additional documentation
//------------------------------------------------------------------------
Read the online documentation provided. In CodeWarrior IDE menu, select
Help > CodeWarrior Help.
//------------------------------------------------------------------------
// Contacting Freescale
//------------------------------------------------------------------------
For bug reports, technical questions, and suggestions, please use the
forms installed in the Release_Notes folder.
没有合适的资源?快使用搜索试试~ 我知道了~
SONY.zip_sony camera
共65个文件
h:34个
c:8个
mem:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 63 浏览量
2022-09-14
22:14:36
上传
评论
收藏 293KB ZIP 举报
温馨提示
冷火单片机驱动sony ccd摄像头 飞思卡尔卡尔智能车大赛第十届备战
资源推荐
资源详情
资源评论
收起资源包目录
SONY.zip (65个子文件)
SONY
CLQ_Uart.h 291B
CLQ_Uart.c 3KB
Project
bin
MCF52255_CONSOLE_INTERNAL_RAM.elf.S19 7KB
MCF52255_INTERNAL_RAM.elf.S19 7KB
MCF52255_CONSOLE_INTERNAL_RAM.elf 20KB
MCF52255_CONSOLE_INTERNAL_RAM.elf.xMAP 5KB
MCF52255_INTERNAL_RAM.elf.xMAP 5KB
MCF52255_INTERNAL_RAM.elf 19KB
lcf
MCF52255_INTERNAL_FLASH.lcf 3KB
MCF52255_INTERNAL_RAM.lcf 3KB
MCF52255_CONSOLE_INTERNAL_RAM.lcf 3KB
Project.mcp 235KB
Project_Data
INTERNAL_RAM
ObjectCode
TargetDataWindows.tdt 352KB
CWSettingsWindows.stg 5KB
INTERNAL_FLASH
TargetDataWindows.tdt 80KB
CONSOLE_INTERNAL_RAM
ObjectCode
TargetDataWindows.tdt 377KB
Project.old.mcp 134KB
cfg
MCF52255_INTERNAL_RAM.cfg 309B
MCF52255_INTERNAL_FLASH.mem 1KB
MCF52255_INTERNAL_FLASH.cfg 309B
MCF52255_CONSOLE_INTERNAL_RAM.cfg 309B
MCF52255_INTFLASH.xml 2KB
MCF52255_INTERNAL_RAM.mem 1KB
MCF52255_CONSOLE_INTERNAL_RAM.mem 1KB
headers
MCF52255_PMM.h 2KB
MCF52255_PAD.h 10KB
MCF52255_ADC.h 10KB
MCF52255_FlexCAN.h 6KB
MCF52255.h 3KB
MCF52255_DMA.h 7KB
MCF52255_DTIM.h 4KB
MCF52255_CCM.h 2KB
MCF52255_CANMB.h 12KB
MCF52255_FEC.h 19KB
MCF52255_CFM.h 3KB
MCF52255_UART.h 10KB
MCF52255_RTC.h 4KB
MCF52255_RNGA.h 2KB
MCF52255_PWM.h 7KB
MCF52255_GPIO.h 31KB
MCF52255_QSPI.h 3KB
MCF52255_RCM.h 2KB
MCF52255_USB_OTG.h 13KB
MCF52255_I2C.h 3KB
MCF52255_INTC.h 30KB
MCF52255_SCM.h 10KB
MCF52255_BWT.h 2KB
MCF52255_GPT.h 9KB
MCF52255_EPORT.h 5KB
MCF52255_PIT.h 2KB
MCF52255_CLOCK.h 4KB
sources
startcf.c 7KB
cfm.c 497B
exceptions.c 31KB
main.c 2KB
uart_support.c 8KB
MCF52255_sysinit.c 2KB
exceptions.h 2KB
MCF52255_sysinit.h 2KB
UART.C 2KB
support_common.h 656B
uart_support.h 1KB
startcf.h 2KB
UART.h 578B
readme.txt 7KB
共 65 条
- 1
资源评论
- 2401_827922962024-04-19果断支持这个资源,资源解决了当前遇到的问题,给了新的灵感,感谢分享~
局外狗
- 粉丝: 67
- 资源: 1万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功