-
Thread
Flash Bereich für NV-Lib reservieren Atmel Studio
würde ich jetzt so was eintragen: MEMORY { ... Storage(rx): ORIGIN = 0x00008000, LENGTH = 0x2000 ... } Aber wie geht das in der IDE?
-
Thread
MSP430F1611 TimerA Interrupt Problem
PORT2_VECTOR_ISR: BIS #0x4000,R14 ; 0xFFE2 Port 2 RETI USART1TX_VECTOR_ISR: BIS #0x2000,R14 ; 0xFFF4 USART 1 Transmit RETI USART1RX_VECTOR_ISR: BIS #0x1000,R14 ; 0xFFF6 USART 1 Receive RETI PORT1_VECTOR_ISR: BIS #0x800,R14 ; 0xFFE8 Port 1 RETI TIMERA1
-
Thread
Funktionsgenerator AD9833 gibt Versorgungspannung aus
DDS_aendern(0x2100); DDS_aendern(0x50C7); DDS_aendern(0x4000); DDS_aendern(0xC000); DDS_aendern(0x2000); DDS_uebertragung_stoppen(); [/C] DDS_AD9833.h [c] #define set_bit(ADDRESS,BIT) ADDRESS |= (1<<BIT) // set Bit #define clear_bit(ADDRESS,BIT) ADDRESS &= ~(1<<BIT)// clear Bit #define
-
Thread
MPC5554, internes Flash löschen mit ext Programm
wenn das Programm mit dem Emulator (iSystem IC3000) gestartet wird (ablaufend im ext. Flash bei 0x2000_0000). Sobald das Programm direkt aus dem ext. Flash läuft, werden über die MMU anscheinend die Adressen ab 0000_0000 (int. Flash) umgelenkt auf den ext. Speicher (2000_0000) und das löschen geht schief
-
Thread
RFM12B Power-On-Reset nach senden.
rfm12_status: FFA1 0x8000 ready to send / receive fifo has data 0x4000 power on reset 0x2000 transmit fifo underrun or overflow / receive fifo overflow 0x1000 wakeup timer interrupt 0x0800 external interrupt (nINT=0) 0x0400 low voltage detected 0x0200 fifo empty 0x0100
-
Thread
NuMicroM2351 "TARGET: NuMicro.cpu - Not halted"
ocd_command ocd_command type ocd_NuMicro.cpu configure -work-area-phys 0x20000000 -work-area-size 0x2000 -work-area-backup 0 Debug: 120 4 command.c:143 script_debug(): command - ocd_NuMicro.cpu ocd_NuMicro.cpu configure -work-area-phys 0x20000000 -work-area-size 0x2000 -work-area-backup 0 Debug: 121
-
Thread
Code: Timerproblem bei rc5-receiver
cycle if( ++rc5_time > PULSE_MAX ){ // count pulse time if( !(tmp & 0x4000) && tmp & 0x2000 ) // only if 14 bits received rc5_data = tmp; tmp = 0; } if( (rc5_bit ^ xRC5_IN) & 1<<xRC5 ){ // change detect rc5_bit = ~rc5_bit; // 0x00 -> 0xFF -> 0x00
-
Thread
7026 50-100% PWM ausgeben
ermöglichen PWMCON = 0x0001; // PWM generell ermöglichen PWMDAT0 = 0x2000; // Periodendauer PWMDAT1 = 0x00; // Totzeit 0 (muss gesetzt werden) PWMDAT2 = 0x00; // Pulsbreite PWMCFG = 0x00; // Chop auf 0 PWMEN = 0x12F; // 0 bis 50% auf port
-
Thread
PIC PWM OC1 Konfig
uint16_t priVal,secVal; bool completeCycle = false; priVal = 0x1000; secVal = 0x2000; OC1_FAULTS faultNum = OC1_FAULT0; OC1_Initialize(); OC1_CentreAlignedPWMConfig( priVal, secVal ); OC1_Start(); while(1) { faultStat = OC1_FaultStatusGet
-
Thread
XE167 HW IIC wait until transmission completed?
TBUF is ready while(U3C1_TCSRL & 0x0080); // clear PSR_TBIF U3C1_PSCR |= 0x2000; // clear PSR_SCR, PSR_TSIF, PSR_TBIF U3C1_PSCR |= ( (1<<IIC_SCR) | (1<<IIC_TSIF) | (1<<IIC_TBIF) ); // load transmit buffer TBUF00 U3C1_TBUF00 = ((U3C1TDF_MStart
-
Thread
PIN-Code Algorithmus von Blaupunkt Radio
xread32(fi); // ??? (00 00 00 00) dummy = xread32(fi); // ??? (24 00 00 00) block_size = 0x2000; // DUMMY flags = 1; // fixed method = 1; // fixed compression_level = 1; // fixed checksum = lzo_crc32(0, NULL, 0); /* * Step 2: allocate buffer for in-place decompression
-
Thread
Frage zu stmdiscovery
Chip ID is 10016420. Device connected: Medium-density value line device Device parameters: SRAM: 0x2000 bytes, Flash: up to 0x20000 bytes in pages of 0x400 bytes Flash size is 128 KiB. warning: data block 08000350 -> 03ea truncated to 00b0 (this is not an error, just a GDB glitch) write error, count
-
Thread
ATxmega16a4 und Bootloader
angepasst - Taster Port/Pin angepasst - Flash Adresse .text in den memory Settings von 0x10000 auf 0x2000 geändert - Die Signature Bytes angepasst Danach hat das beiliegende Programm (baudrate auf 19200 geändert) auch eine Kommunikation aufgebaut, bricht dann aber später mit folgender Meldung ab
-
Thread
C_CAN Device: LPC11C24/301
memory size Memory configuration LPC11Cxx without first 0xC0 bytes and without last 32 bytes (0x2000-0xC0-0x20=0x1F20): Quote: Type Name Location Size RAM RamLoc8 0x100000C0 0x1F20
-
Thread
Projekt: LED Designerlampe mit Ikea PCB smart machen
abschließt. Ergebnis ist zufriedenstellend :-) Dimmt smooth, flackert nicht und ein C-L-C platinchen (2x2000uF und ne Spule aus einem Schaltnetzteil) zwischen PSU und Tradfri inlet lassen das PWM-Netzteilfiepen (fast) verstummen. Schöne Grüsse
-
Thread
STM32H743 mit U-Boot landet im HardFault
CONFIG_ARCH_STM32=y CONFIG_SYS_MALLOC_LEN=0x00100000 CONFIG_NR_DRAM_BANKS=1 CONFIG_ENV_SIZE=0x2000 CONFIG_DEFAULT_DEVICE_TREE="st/stm32h743i-custom" CONFIG_OF_LIBFDT_OVERLAY=y CONFIG_SYS_LOAD_ADDR=0x24008000 CONFIG_SYS_TEXT_BASE=0x08000000 #internal mcu flash CONFIG_TEXT_BASE=0x08000000
-
Thread
LPC2292 Buskonfiguration bei 60 MHz ?
Adress/Databus - Bei 1MB RAM (P3.23 = XClk) PINSEL2 = (PINSEL2 & ~0x30) | 0x20 | 0x100 | 0x800 | 0x2000 | (6<<25) | (3<<23); // IDCY + WST1 + RBLE + WST2 + 16 bit Bus BCFG1 = (0) + (0<<5) + (1<<10) + (0<<11) + (1<<28); VPBDIV |= 0x10; // Set external clock (XCLK) to Processor Clock
-
Thread
Bootloader und Nutzprogramm in einem Projekt
Linker-Skript-File folgendes stehen: <schnip> MEMORY { data (a!xr) : ORIGIN = 0x800, LENGTH = 0x2000 reset : ORIGIN = 0x0, LENGTH = 0x4 ivt : ORIGIN = 0x4, LENGTH = 0xFC aivt : ORIGIN = 0x104, LENGTH = 0xFC program (xr) : ORIGIN = 0x600
-
Thread
Anlegen einer neuen section im RAM
0x0000 ... 0x0FFF - mapped Eeprom byte address 0x1000 ... 0x1FFF - internal SRAM byte address 0x2000 ... 0x5FFF (RAMEND with byte address =0x5FFF) - Harvard Architecture offset: 0x800000 Auszug aus dem angepassten linker file: [code] MEMORY { text (rx) : ORIGIN = 0x000000, LENGTH =
-
Thread
Anfängerfrage - Stoppuhr mittels CCP Module
0x0400 #define RTC_FROM_DS 0x0800 #define DSWDT_FROM_DS 0x1000 #define ULPWU_FROM_DS 0x2000 #define FAULT_FROM_DS 0x8000 #define EXT_FROM_DS 0x0200 //Constants for calls to sleep() to enable deep sleep mode are: #define DEEP_SLEEP 3 // Any of the following may be OR'ed
-
Thread
Fantec Mediaplayer 3DS4600 zeigt nur noch Startbildschirm
: d0 bb bb 23 23 23 23 79 79 79 79 80 80 80 80 ff ff ff ff ff ff ff ff ff ff ff ff page size: 0x2000, pages per block: 0x100 blocks per flash: 0x800, chip num: 0x1 BBT: [0]: (0x0, 0x1b, 0x0, 0x7ff) factory blk start:0x19, size:0x400000 fw description table blk: 0x1b Realtek> info uart
-
Thread
Ausführung von ASM Code in startup.S nur im Debug-Modus?
TX,TX strh r1, [r0, #12] ; +12 USART_CR1 ldr r2, =0x2000 ; Size = Length (8K) ldr r3, =0x20000000 ; Mem = RAM Address iu1 ldrh r1, [r0, #0] ; USART->SR ands r1, #0x80 ; TXE
-
Thread
HardFault_Handler bei LPC11C14 mit can_onchip
TEST" { 0x1018, 0x00, 1, 0x00000003UL }, { 0x1018, 0x01, 4, 0x00000003UL }, { 0x2000, 0x00, 1, (uint32_t)'M' }, }; /* Application variables used in variable OD */ uint8_t error_register; uint32_t device_id; uint32_t fw_ver; uint16_t param; /* CANopen list of variable
-
Thread
M3 (lm3s818) linkerfileproblem
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x10000 SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x2000 } /* Section Definitions */ SECTIONS { .text : { KEEP(*(.isr_vector .isr_vector.*)) *(.text .text.*) *(.gnu.linkonce.t.*) *(.glue_7) *(.glue_7t) *(.gcc_except_table)
-
Thread
Problem mit dem ARM7 Starterkit
internal SRAM $_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x40000000 -work-area-size 0x2000 -work-area-backup 0 # 32kB of internal Flash, core clocked with 12MHz crystal # flash bank lpc2000 <base> <size> 0 0 <target#> <variant> <clock> [calc_checksum] flash bank lpc2000 0x0 0x8000 0
-
Thread
I2C-ADC: Meßwert mit zwei statt einem Byte abholen
address */ #define I2C_M_RD 0x01 #define I2C_M_NOSTART 0x4000 #define I2C_M_REV_DIR_ADDR 0x2000 #define I2C_M_IGNORE_NAK 0x1000 #define I2C_M_NO_RD_ACK 0x0800 short len; /* msg length */ char *buf; /* pointer to msg data */ }; [/c] Da dies Teil einer Bibliothek
-
Thread
size und objdump Unterschiede (SPARC)
. */ . = ALIGN (0x10000) - ((0x10000 - .) & (0x10000 - 1)); . = DATA_SEGMENT_ALIGN (0x10000, 0x2000); /* Ensure the __preinit_array_start label is properly aligned. We could instead move the label definition inside the section, but the linker would then create the section even if
-
Thread
OpenTCP MCF5235EVB
UINT32)IPS3)<<8 | IPS4; uint16 udp_host_port = 1234; /* Enable interrupts */ mcf5xxx_wr_sr(0x2000); printf("\nMCF523x Initialization Complete!\n"); /* Init Opentcp UDP Connection*/ eth_stub_init(); init_timerpool(); fec_init(&fec_nif); arpinit(); udp_init(); /* Set
-
Thread
Load geht nicht mit neuem OpenOCD
7 off flash protect 1 0 1 off } $_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x2000C000 -work-area-size 0x4000 -work-area-backup 0 #flash bank str7x <base> <size> 0 0 <target#> <variant> flash bank str7x 0x40000000 0x00040000 0 0 0 STR71x flash bank str7x 0x400C0000 0x00004000
-
Thread
STM32F446 Problem mit I2CSlave SDA
pActiveSlave = nullptr; } if (ITFlags & FMPI2C_FLAG_TCR) { stages |= 0x2000; fmpi2c.Instance->CR2 |= 1 << FMPI2C_CR2_NBYTES_Pos; } if (ITFlags & FMPI2C_FLAG_ADDR) { stages |= 0x04; __HAL_FMPI2C_CLEAR_FLAG(&fmpi2c,FMPI2C_FLAG_ADDR);
-
Thread
GCC Ram Segmente
ORIGIN = 0x8000000, LENGTH = 256K } _estack = 0x20010000; /* bei 64k RAM ist oberstes Stack Byte 0x2000ffff */ SECTIONS { .isr_vector : { . = ALIGN(4); KEEP(*(.isr_vector)) . = ALIGN(4); } >FLASH /* Vektor Tabelle ins
-
Thread
Initialisierung EZ-KIT 21369
(R/W) #define DACCTRL2 (0x1000) // DAC control register 2 (R/W) #define DACVOL_L1 (0x2000) // DAC volume - left 1 (R/W) #define DACVOL_R1 (0x3000) // DAC volume - right 1 (R/W) #define DACVOL_L2 (0x4000) // DAC volume - left 2 (R/W) #define DACVOL_R2 (0x5000