Keil C ve STM ile ilgili sorularim

Başlatan z, 07 Aralık 2013, 02:31:57

z

Keilde main fonksiyonu icerisinde iken islemci RAMinin en son adresini bilmek istiyorum bunu nasil ogrenirim.

SysInit fonksiyonunda iken islemci RAMinin en son adresini bilmek istiyorum bunu nasil ogrenirim.

TI ARM ciplerinde cipin adini bir registerden ogrenebiliyorduk. Ayni sekilde (emin degilim) rom ve ram uzunlugunu da ogrenebiliyorduk. STM32F10x serisinde bu tip registerler goremedim ama gozden kacirmis olabilirim.

STM de bu tip registerlardan haberiniz varmi?


Bana e^st de diyebilirsiniz.   www.cncdesigner.com

Burak B

#1
Referans Manuali şöyle diyor;
Alıntı Yap
31.6.1 MCU device ID code
The STM32F10xxx MCUs integrate an MCU ID code. This ID identifies the ST MCU partnumber
and the die revision. It is part of the DBG_MCU component and is mapped on the
external PPB bus (see Section 31.16 on page 1067). This code is accessible using the
JTAG debug port (4 to 5 pins) or the SW debug port (two pins) or by the user software. It is
even accessible while the MCU is under system reset.
DBGMCU_IDCODE
Address: 0xE004 2000
Only 32-bits access supported. Read-only.
"... a healthy dose of paranoia leads to better systems." Jack Ganssle

muhittin_kaplan

ne yaptın bilmiyorum, uniqid yi araştırırken karşıma çıktı
F4 de CPUID adında bir reg, UniqID adında 3 reg. ve flashsize adında bir reg rastladım. Muhabbet ettik Senden Bahsettim Z.
Selamları Var Bu Registerlerin.