When using ADS1.2 and entering the AXD debugging environment, the message "the session file could not be loaded" appears
solution:
1: Place the project file in a directory that does not contain Chinese paths.
2: In AXD->confing Interface, remove the option in front of save and load default session in general.
1: Load the initialization file in the session file in AXD->options->configure interface. The specific content is as follows:
Setmem 0x53000000 0x00000000 32
Setmem 0x4A000008 0xFFFFFFFF 32
Setmem 0x4A00001C 0x000007FF 32
Setmem 0x53000000 0x00000000 32
Setmem 0x56000050 0x000055AA 32
Setmem 0x4C000014 0x00000007 32
Setmem 0x4C000000 0x00FFFFFF 32
Setmem 0x4C000004 0x00061012 32
Setmem 0x4C000008 0x00040042 32
Setmem 0x48000000 0x22111120 32
Setmem 0x48000004 0x00002F50 32
Setmem 0x48000008 0x00000700 32
Setmem 0x4800000C 0x00000700 32
Setmem 0x48000010 0x00000700 32
Setmem 0x48000014 0x00000700 32
Setmem 0x48000018 0x0007FFFC 32
Setmem 0x4800001C 0x00018005 32
Setmem 0x48000020 0x00018005 32
Setmem 0x48000024 0x008E0459 32
Setmem 0x48000028 0x00000032 32
Setmem 0x4800002C 0x00000030 32
Setmem 0x48000030 0x00000030 32
2. In AXD --> options --> configure processor, remove the option for semihosting and click clear all.
3. When using ADS for the first time, you need to configure J-LINK in AXD. Select JLinkRDI.dll in the installation directory of J-LING in AXD>OPTION>CONFIGURE TARGET, then click CONFIGURE configuration, and select the chip reset time as 2000ms to debug normally.
#########################################################################
Configure J-Link to burn bootloader to mini2440
Using J-Link can actually burn without configuration, but the speed is very slow
Why? Because it is not running in the board's memory.
Beginners may not know how to configure J-Flash, so you can refer to my configuration file (use with caution, burning BIOS may easily cause problems).
【DownUrl】 J-Link burns mini2440 BIOS configuration file
-----------------------------------------------------------------------------------------------------------------
If you configure it yourself, the basic configuration is as follows. You should refer to the init script included in the CD and fill in the initialization options yourself.
The main configuration process is as follows:
Menu: [Options]-->[option settings]
1. Gneral: Connectioin to J-link --> USB: Device 0
2. Target Interface: Keep the default settings.
3. CPU:
Core --> Auto, Little endian
Use target RAM (faster) --> Addr: 40000000 64KB (mainly this, it will be too slow if not used)
Fill in the initialization sequence as shown below. It is also copied from the H-Jtag script. I have simply commented on it.
##-------Action-----Value0------Value1
Setmem 32-Bit 0x53000000 0x00000000 ; pWTCON , watchdog timer control register
Setmem 32-Bit 0x4A000008 0xFFFFFFFF ; INTMSK , interrupt mask register
Setmem 32-Bit 0x4A00001C 0x000007FF ; INTSUBMSK, an interrupt request mask register specific to INTMAK
Setmem 32-Bit 0x53000000 0x00000000 ; pWTCON , watchdog timer control register
Setmem 32-Bit 0x56000050 0x000055AA ; rGPFCON , Port F control
Setmem 32-Bit 0x4C000014 0x00000007 ; CLKDIVN , CPU clock division control register
Setmem 32-Bit 0x4C000000 0x00FFFFFF ; LOCKTIME, lock time count register
Setmem 32-Bit 0x4C000004 0x00061012 ; MPLLCON , MPLL register
Setmem 32-Bit 0x4C000008 0x00040042 ; UPLLCON , UPLL register
Setmem 32-Bit 0x48000000 0x22111120 ; Bus width & wait status
Setmem 32-Bit 0x48000004 0x00002F50 ; Boot ROM control
Setmem 32-Bit 0x48000008 0x00000700 ; BANK1 control
Setmem 32-Bit 0x4800000C 0x00000700 ; BANK2 control
Setmem 32-Bit 0x48000010 0x00000700 ; BANK3 control
Setmem 32-Bit 0x48000014 0x00000700 ; BANK4 control
Setmem 32-Bit 0x48000018 0x0007FFFC ; BANK5 control
Setmem 32-Bit 0x4800001C 0x00018005 ; BANK6 control
Setmem 32-Bit 0x48000020 0x00018005 ; BANK7 control
Setmem 32-Bit 0x48000024 0x008E0459 ; DRAM/SDRAM refresh
Setmem 32-Bit 0x48000028 0x00000032 ; Flexible Bank Size
Setmem 32-Bit 0x4800002C 0x00000030 ; Mode register set for SDRAM
Setmem 32-Bit 0x48000030 0x00000030 ; Mode register set for SDRAM
4. Flash
Uncheck "Automatically detect flash memory" and then "Select Flash Device".
The Flash model of mini2440 is: SST39VF1601. Do not rewrite any values after selecting it.
5. Production
Erase, Program and Verify enable.
Previous article:ADS1.2+TX2440+Jlink test
Next article:uboot4--Use jlink to burn mini2440 uboot
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Three steps to govern hybrid multicloud environments
- Three steps to govern hybrid multicloud environments
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Is this injury serious?
- EEWORLD University Hall----Start using UCD3138 digital power controller tool
- CircuitPython 5.3.0-rc.0 released
- TI DSP programming - TMS320C6416
- What is the reason for the inductance noise in the peripheral circuit of the lithium battery charging chip?
- CCS Error
- FPGA_100 Days Journey_USB2.0 Design
- Qorvo is such a strong company, it’s more than just RF!
- [GD32L233C-START Review] Getting to know the development board
- Packaging form and packaging process of RFID electronic tags