Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

learn the ARM CORTEX M3

Status
Not open for further replies.

mahmoudathab

Member level 1
Member level 1
Joined
Apr 28, 2012
Messages
34
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,495
what is the best way to quickly learn the ARM CORTEX M3 programming? I already have 2 books that I am reading but I am talking mainly about practical knowledge.
 

I already ordered one...but it will take about a month to arrive :) ...any other advices?
 

You can do some simulation at demo firmwares on IDE compiler, however it will not perform real result. due simulators don´t match perfect work of built-in hardware modules.


+++
 

what about this development board ?

HY-LPC1788-SDK-2.jpg

HY_LPC1788-SDK-7-2.jpg


**broken link removed**

HY-LPC1788-CORE Board Features

JTAG connector ( 2*10 pin 2.00mm ) for programming/debugging with ARM-JTAG.
The board has access to allmost all pins for external connection.
The pins are named according to the interfaces where ever possible.
All pins are available via standard 2.00mm Berg Strip.
On Board USB Device. This is a perfect solution for developing USB Peripherals.
On Board Mini USB ( USB Device ) Power Supply with Power Supply LED.
On Board Reset Circuit.
12 MHz crystal oscillator.
32.768 kHz crystal for Real Time Clock.
Board Dimensions: 60 * 45 mm.
one user programmable LED
LCD interface with backlight and TouchPanel circuit, support the resolution of 480 * 272, 800 * 480, 4.3" inch, 5" inch, 7" inch TFT LCD touch screen.
on board EMC 32MB 16bit data bus SDRAM memory ( Default ) or 32MB 32bit data bus memory ( optional need more money )
on board EMC 128M NAND FLASH memory
on board EMC 8MB NOR FLASH memory
on board 2MB SPI FLASH memory
on board 256Mbit EEPROM memory




how can i port android on lpc1788 ?
 

thanks for the replay.

now i am looking for external flash accessing programming.

how to store an image array in external flash ?
iam using j-link usb-jtag and keil uvision 4.70.0.0.


thank you.
 

The starter kit you buyed don´t have library or example programs to do access to flash memory ?


+++
 

j-link and target memory settings for lpc1788 with 32MB 32bit SDRAM,8 MB NOR FLash, 128MB NAND FLASH







// image array
const unsigned short _acimage_1[] __attribute__((at(0x8000000))) = {



};


***JLink Error: Could not find CFI compliant flash device Target system has not enough RAM.

- - - Updated - - -

example program

Code:
#include "lpc_types.h"
#include "debug_frmwrk.h"
#include "lpc177x_8x_pinsel.h"
[B]#include "emc_nand.h"[/B]

int main(void)
{


  debug_frmwrk_init();
  EMC_NAND_Test();
	/* Infinite loop */

	while(1)
	{
		
	}	

}



emc_nand.h
Code:
/* Private function prototypes -----------------------------------------------*/
void EMC_NAND_Init(void);
void EMC_NAND_Test(void);
void EMC_NAND_ReadID(NAND_IDTypeDef* NAND_ID);
uint32_t EMC_NAND_WriteSmallPage(uint8_t *pBuffer, NAND_ADDRESS Address, uint32_t NumPageToWrite);
uint32_t EMC_NAND_ReadSmallPage (uint8_t *pBuffer, NAND_ADDRESS Address, uint32_t NumPageToRead);
uint32_t EMC_NAND_WriteSpareArea(uint8_t *pBuffer, NAND_ADDRESS Address, uint32_t NumSpareAreaTowrite);
uint32_t EMC_NAND_ReadSpareArea(uint8_t *pBuffer, NAND_ADDRESS Address, uint32_t NumSpareAreaToRead);
uint32_t EMC_NAND_EraseBlock(NAND_ADDRESS Address);
uint32_t EMC_NAND_Reset(void);
uint32_t EMC_NAND_GetStatus(void);
uint32_t EMC_NAND_ReadStatus(void);
uint32_t EMC_NAND_AddressIncrement(NAND_ADDRESS* Address);

- - - Updated - - -

how do i declare an array on external flash ?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top