'Cortex-M3'에 해당되는 글 3건

  1. 2013.06.11 cortex-m3 JTAG / X-LinkEx 1.1
  2. 2012.11.06 LM3S - FlashProgram()
  3. 2012.01.31 Cortex-M3 인터럽트 관련 문서
embeded/Cortex-M3 Ti2013. 6. 11. 18:02
cortex-m3용 저가형 JTAG을 찾을일이 있어서 테스트 해봄
VAT 포함 3.3만원 정도로 구매할수 있어
TI Evaluation 보드로 하는것 보다 저렴하게 할 수 있다.

[링크 : http://funchip.co.kr/shop/goods/goods_view.php?&goodsno=9996461&category=004004] 국내 판매 대행
[링크 : http://blog.iteadstudio.com/] 제조사
[링크 : http://wooridisplay.co.kr/Documents/X-LinkEx.pdf] 데이터 시트
[링크 : http://coocox.org/] 드라이버


근데 MDK 연동은 머가 엉겼는지 안됨 -_-



드라이버 설치하면 아래와 같이 두개가 추가된다.


일단 MDK는 포기하고 전용 프로그램으로 굽기!(coflash)


1607이라서 안될줄 알았는데 음..
elf 파일로는 문제없이 구워진다. 그리고 MDK 에서 ICDI 하는것보다 더욱 빠르게 굽고 확인한다! 우옹!


'embeded > Cortex-M3 Ti' 카테고리의 다른 글

bitband / cortex-m3  (0) 2013.08.16
LM3S1968과 H-JTAG(wiggler)  (0) 2013.06.28
cortex-m3가 문제인가.. keil이 문제인가?  (2) 2013.02.05
LM3S - FlashProgram()  (0) 2012.11.06
TI Stellaris LM3S 시리즈 ICDI가 사라졌어요!!!  (0) 2012.09.22
Posted by 구차니
embeded/Cortex-M3 Ti2012. 11. 6. 14:56
근 일주일을 골머리 아프게 만든 녀석...
데이터를 저장하는데 귀찮아서 몇단계 래핑해버리고 쓰다보니
그리고 정말정말 운이좋게 4의 배수로 저장이 되서 티가 안났었는데
이번에 프로그램을 수정/확장하다가 우연히 발견.. -_-

아무튼, LM3S에서(cortex-m3) FlashProgram()을 통해서 내장 플래시에 데이터를 써넣을때
4바이트 align이 되지 않으면 미치거나 죽는다 -_- (무한루프 돌고 있을지도?)
어쩌면 쓰긴 쓰는데 개비지 값이 이상한데로 튀어서 SRAM 영역 건드리는게 아닐까 싶을 정도..

10.2.2.8 FlashProgram
Programs flash.
Prototype:
long FlashProgram(unsigned long *pulData, unsigned long ulAddress, unsigned long ulCount)
Parameters:
pulData is a pointer to the data to be programmed.
ulAddress is the starting address in flash to be programmed. Must be a multiple of four.
ulCount is the number of bytes to be programmed. Must be a multiple of four.
Description:
This function programs a sequence of words into the on-chip flash. Each word in a page of
flash can only be programmed one time between an erase of that page; programming a word
multiple times results in an unpredictable value in that word of flash.
Because the flash is programmed one word at a time, the starting address and byte count
must both be multiples of four. It is up to the caller to verify the programmed contents, if such
verification is required.
This function does not return until the data has been programmed.
Returns:
Returns 0 on success, or -1 if a programming error is encountered.  

Posted by 구차니
embeded/Cortex-M3 Ti2012. 1. 31. 17:32
으헝헝 이런걸 찾고 있었던 거야 ㅠ.ㅠ

아무튼 중요한 내용은,
Cortex-M3 계열은 인터럽트 발생후 리셋하지 않기 때문에 수동으로 리셋을 해주어야 한다는 점인듯?


[링크 : http://skean.tistory.com/34]
[링크 :  http://eoworld.tistory.com/entry/LM3S8962-interrupt ]
  [링크 : http://www.cyworld.com/gooble/4856690] << 원본?

'embeded > Cortex-M3 Ti' 카테고리의 다른 글

Ti lm3s1968 arm cortex m3 i2c  (0) 2012.02.20
TI stellarisware / driverlib 기본설정 (uart예제)  (4) 2012.02.05
Cortex-M3 예제소스  (0) 2012.01.27
Cortex-M3 LM3S1968 Evaluation board  (0) 2012.01.27
ARM Cortex-M3 ISR 등록 방법  (0) 2012.01.20
Posted by 구차니