Primeiro Projeto Ew430 Ti
-
Upload
texas-instruments -
Category
Education
-
view
290 -
download
1
description
Transcript of Primeiro Projeto Ew430 Ti
![Page 1: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/1.jpg)
Criando um Projeto Passo-a-PassoCriando um Projeto Passo a PassoEW430
12007-12 12007-12
![Page 2: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/2.jpg)
Criate New ProjectCriate New Project
Criando novo Projeto
22007-12 22007-12
![Page 3: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/3.jpg)
Criate New ProjectCriate New Project
Selecione o Template: Projeto vazio, em Assembler, em C ou C++
32007-12 32007-12
![Page 4: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/4.jpg)
Save ProjectSave Project
Salve o Projeto
42007-12 42007-12
Salve o ProjetoNOME.EWP
![Page 5: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/5.jpg)
Save WorkspaceSave Workspace
Salvar Workspace
52007-12 52007-12
![Page 6: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/6.jpg)
Save WorkspaceSave Workspace
Salvar WorkspaceNOME.EWW
62007-12 62007-12
![Page 7: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/7.jpg)
Organização dos projetosg ç p jWorkspaceWorkspace
ProjectProject ProjectProject
GroupGroup
SourceSource
GroupGroup
SourceSource SourceSource
SourceSource
SS
SourceSource
SS
SourceSource
SSSourceSource SourceSource SourceSource
• Workspaces podem conter multiplos projetos.
72007-12 72007-12
![Page 8: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/8.jpg)
OptionsOptions…Selecione o Arquivo do projeto (*.ewp) e click com o botãoclick com o botão direito do Mouse.Em seguida click em Options...
82007-12 82007-12
![Page 9: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/9.jpg)
General OptionsGeneral Options
92007-12 92007-12
![Page 10: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/10.jpg)
General Options: DeviceGeneral Options: Device
Na categoria “General Option” selecione o Chip
• Ao selecionar o Dispositivo carrega automaticamente o arquivo (* ddf)
102007-12 102007-12
• Ao selecionar o Dispositivo carrega automaticamente o arquivo ( .ddf)
![Page 11: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/11.jpg)
C/C++ Compiler: LanguageC/C++ Compiler: Language
112007-12 112007-12
![Page 12: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/12.jpg)
C/C++ Compiler: CodeC/C++ Compiler: Code
Seleciona a utilização do registradores R4 & R5
122007-12 122007-12
![Page 13: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/13.jpg)
C/C++ Compiler: OptimizationC/C++ Compiler: Optimization
Otimização por
132007-12 132007-12
ç pVelocidade ou Tamanho de código
![Page 14: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/14.jpg)
C/C++ Compiler: PreprocessorC/C++ Compiler: Preprocessor
Di tiDiretivas para o Compilador
142007-12 142007-12
![Page 15: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/15.jpg)
Linker: ILINK
152007-12 152007-12
![Page 16: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/16.jpg)
Linker: OutputLinker: Output
162007-12 162007-12
![Page 17: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/17.jpg)
Linker: ConfigLinker: Config
Podemos utilizar outro arquivo para fazer um novo
tmapeamento
* Na aba List selecione “Generate Linker Map file”
172007-12 172007-12
Na aba List selecione Generate Linker Map file
![Page 18: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/18.jpg)
Linker: XCL Simple Template• // segment address range usage• // DATA16_I 0200-6FFF Initialized variables• // DATA16_Z 0200-6FFF Zero initialized variables• // DATA16_N 0200-6FFF Uninitialized variables_• // CSTACK 0200-6FFF Run-time stack/auto variables• // HEAP 0200-6FFF The heap used by malloc and free• // Program and non-volatile segments (FLASH)• // =========================================• // segment address range usage• // segment address range usage• // CSTART 0200-FFDF cstartup program code• // CODE 0200-FFDF Program code• // DATA16_C 0200-FFDF Constant "const" variables AND String literals• // DATA16_ID 0200-FFDF Initializers for DATA16_I
// DIFUNCT 0200 FFDF D i i iti li ti t d b C• // DIFUNCT 0200-FFDF Dynamic initialization vector used by C++• // CHECKSUM 0200-FFDF The linker places the checksum byte(s)• // INTVEC FFE0-FFFD Interrupt vectors• // RESET FFFE-FFFF The reset vector• // -------------------------------------------------------------------• // Stack size and heap size• // -------------------------------------------------------------------• // Define CPU• // -------------------------------------------------------------------• // RAM memory// RAM memory• // -------------------------------------------------------------------• // ROM memory (FLASH)• // -------------------------------------------------------------------• // End of File
182007-12 182007-12
![Page 19: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/19.jpg)
C-SPY Debugger: SetupC-SPY Debugger: Setup
Campo para direcionar arquivo com características específicas do Chip (*.ddf)
Simulator: Faz simulação sem hardwareFET Debugger – Depuração pela interface J-Tag
192007-12 192007-12
gg p ç p g
![Page 20: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/20.jpg)
FET Debugger: SetupFET Debugger: SetupSeleciona a conexão, alimentação entre o aplicativo e o Target
202007-12 202007-12
![Page 21: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/21.jpg)
FET Debugger: DownloadFET Debugger: DownloadConfigura o modo de download para o target
212007-12 212007-12
![Page 22: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/22.jpg)
FET Debugger: BreakpointsFET Debugger: BreakpointsHabilita o uso de Breakpoints
Finalize a configuraçãoFinalize a configuração
222007-12 222007-12
![Page 23: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/23.jpg)
Arquivos do Primeiro ProjetoArquivos do Primeiro Projeto
Copie o arquivo para a pasta de seu projeto
232007-12 232007-12
![Page 24: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/24.jpg)
Primeiro Código: Add FilesPrimeiro Código: Add Files...
242007-12 242007-12
![Page 25: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/25.jpg)
Primeiro Código: Add FilesPrimeiro Código: Add Files...
252007-12 252007-12
![Page 26: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/26.jpg)
Primeiro Código: MakePrimeiro Código: Make
Make
262007-12 262007-12
![Page 27: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/27.jpg)
Primeiro Código: DebugPrimeiro Código: Debug
Debug
272007-12 272007-12
![Page 28: Primeiro Projeto Ew430 Ti](https://reader033.fdocumentos.tips/reader033/viewer/2022052412/5596017b1a28aba4308b4856/html5/thumbnails/28.jpg)
Primeiro Código: Debug WindowPrimeiro Código: Debug Window
282007-12 282007-12
Breakpoint