我把以前F280049 64PIN的代码,用来下载到F280049 100PIN的芯片里,出现芯片掉电后,程序就不存在了,应该是没有下载进Flash里面,请问,这是什么原因导致的呢?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我把以前F280049 64PIN的代码,用来下载到F280049 100PIN的芯片里,出现芯片掉电后,程序就不存在了,应该是没有下载进Flash里面,请问,这是什么原因导致的呢?
RAM运行还是FLASH运行?在TI例程代码中有这样的语句,您看一下您的代码内是否有这样的语句?
//*****************************************************************************
//*****************************************************************************
//
//! \internal
//! Checks that a pin number is valid for a device.
//!
//! Note that this function reflects the highest possible GPIO number of a
//! device on its biggest package. Check the datasheet to see what the actual
//! range of valid pin numbers is for a specific package.
//!
//! \return None.
//
//*****************************************************************************
#ifdef DEBUG
static inline bool
GPIO_isPinValid(uint32_t pin)
{
return((pin <= 59U) || ((pin >= 224U) && (pin <= 247U)));
}
#endif
参考数据手册 4.5 Pins With Internal Pullup and Pulldown
默认都是Pullup disabled的
上拉电阻的使用主要取决于该引脚的应用程序。您是否正在使用此引导模式引脚?
在F280049 controlCARD中,GPIO24和GPIO32都已通过56K电阻上拉。