EmbeddedRelated.com

AVR butterfly - issue with serial loading

Started by Anonymous in comp.arch.embedded17 years ago 3 replies

I'm planning on making the move from PIC to AVR for my next project but I'm running into a very frustrating hurdle. I'm having...

I'm planning on making the move from PIC to AVR for my next project but I'm running into a very frustrating hurdle. I'm having trouble programming my AVR butterfly over serial using the bootloader. The wiring seems very straight forward, 3 wires pretty sure that is ok since there's pin numbers in the manual and I can read the pin numbers right on the cable. On the butterfly side I put the ...


Need help in redirecting ISR after switching to a new execution image in MSP430

Started by an_anth in comp.arch.embedded9 years ago 2 replies

Hi, My earlier post was: Creating multiple images (Boot & App) in a project (IDE: CCS/IAR/CrossWorks) ? I am working...

Hi, My earlier post was: Creating multiple images (Boot & App) in a project (IDE: CCS/IAR/CrossWorks) ? I am working with: Microcontroller: MSP430F1611 IDE: CrossWorks for MSP430 Right now I have managed to create and load the 2 images, namely, Bootloader and Application, in separate memory locations. And I am able to jump to the Application code by using the address of its "main...


Stack area - Load and Run (Linker Command File)

Started by karthikbg in comp.arch.embedded17 years ago 1 reply

Hi, I have an application whose DataMemory clashes with the DataMemory of my Bootloader. So, I have thought of shifting the Applications...

Hi, I have an application whose DataMemory clashes with the DataMemory of my Bootloader. So, I have thought of shifting the Applications Datamemory mapping. Now, i have rempped it. But, When my application starts, the the MMU is disabled & The MMU is enabled inside the application only. So, there is a situation that my stack will be pointing to one location when the MMU is disabled and...


Optimizing Linux on ARM920T (MXL from Freescale)

Started by [LT] CodeC in comp.arch.embedded17 years ago 2 replies

Hi all, I just started to develop Linux OS for arm920t processor. I want to build very simple and quick kernel, because I need...

Hi all, I just started to develop Linux OS for arm920t processor. I want to build very simple and quick kernel, because I need real-time operations. I have compiled 2.6.23 kernel (XIP, 1.1MB), have wrotten simple bootloader (1.5KB). I use uClibc and buildroot toolchain. I want to start linux kernel as quick as possible after power on (less that 1s is wanted). I will disable console, will ru...


detecting memory-mapped i/o peripheral in OS

Started by banu in comp.arch.embedded20 years ago 1 reply

hi all, can any explain function of bootloader, and how linux or other OS detects the external pheripherals on an x86...

hi all, can any explain function of bootloader, and how linux or other OS detects the external pheripherals on an x86 processor(80486). 2. which will create GDT,LDT,IDT in system linux or BIOS or boot loader. 3. if added new peripheral which is memory mapped in to the system address space(memory-mapped i/o) : how can i see the pheripheral in linux or other os, fo...


Linux Kernel speculation

Started by Nobby Anderson in comp.arch.embedded15 years ago 17 replies

We have a number of systems based on the ppc core in a Virtex 4 FX12. The system has 4MB flash RAM for program storage and 32MB RAM and uses one...

We have a number of systems based on the ppc core in a Virtex 4 FX12. The system has 4MB flash RAM for program storage and 32MB RAM and uses one of the EDK-supplied Ethernet cores for comms (temac). Some time ago I ported a 2.6.15 kernel onto it and we've been running with that ever since. The system boots with a small bootloader which loads uboot which in turn loads the Linux kernel. Th...


AT91RM9200 Linux Board bootloader problems?

Started by Ethan in comp.arch.embedded12 years ago 1 reply

Hello, I am extremely new to this stuff and just got a AT91RM9200 Linux Board. I was going to download Python to it to make some programs....

Hello, I am extremely new to this stuff and just got a AT91RM9200 Linux Board. I was going to download Python to it to make some programs. After setting it up per the setup MANUAL, it seemed to lad fine. I proceeded to download Python but it just wouldn't work. I researched and found that i had an error when booting (Error bad CRC, continuing loading Linux environment). The best fix to this proble...


How Physical Memory Mapping / Allocation works

Started by Ilias Abrams in comp.arch.embedded6 years ago 13 replies

Hi guys, I am new on software programming and I am trying to understand some basic/ important things.I am interested in Bare-metal software...

Hi guys, I am new on software programming and I am trying to understand some basic/ important things.I am interested in Bare-metal software programming, so please give me answers related on this. My question is: who is responsible and manage the physical memory mapping / allocation? Meaning, If I have 1GB physical memory on my system, the 1) CPU or 2) the Bootloader (like GRUB, U-b


How to redirect kernel messages to serial console

Started by tamamontu in comp.arch.embedded14 years ago 2 replies

Hi, I am trying to redirect kernel message to serial console. I am trying to modify LCD device driver for cirrus EP9307 board. We are using...

Hi, I am trying to redirect kernel message to serial console. I am trying to modify LCD device driver for cirrus EP9307 board. We are using 2.6.8.1 kernel and reboot as bootloader. I have enabled support for serial console in kernel config using menuconfig. The default console is set to tty0 which is lcd in our case. How can i change this to ttys0(uart1). On net there is some informatio...


HC08 and RAM bootloader routine

Started by Marcus in comp.arch.embedded20 years ago 2 replies

I'm trying to build a RAM-executing routine for the HC08(AZ60A) documented in Motorola AppNote #AN1828. Basically, you generate...

I'm trying to build a RAM-executing routine for the HC08(AZ60A) documented in Motorola AppNote #AN1828. Basically, you generate a self-contained S19 file for a RAM-based message loop. This loop contains FLASH programming routines and acts upon subsequent messages which contain the ultimate S19 file user code. Writing everything in C (using Cosmic compiler) I've got my initial "maintenanc...


H8S/2314 flash programming

Started by alme...@gmail.com in comp.arch.embedded19 years ago 1 reply

Hello. I'm having a bit of a problem writing a bootloader for the Renesas H8S/2314. The problem seems to be that i'm unable to write to the...

Hello. I'm having a bit of a problem writing a bootloader for the Renesas H8S/2314. The problem seems to be that i'm unable to write to the flash memory. So far, the problems seems to be that i'm unable to assert the FWE bit, however i'm able to program it using the Flash Development toolkit (so it enters bootmode, which implies that the FWE bit is asserted). I've put a switch connected to ...


Marvel 88E1145 Chipset(PHY) Queries

Started by ajeesh3k in comp.arch.embedded16 years ago

Hello Sir/Madam, We have following queries regarding Marvel 88E1145 chipset. Following are few observations: We have connected all MDIO...

Hello Sir/Madam, We have following queries regarding Marvel 88E1145 chipset. Following are few observations: We have connected all MDIO and MDC to single port. PHY ID read from controller is always ?FFFF?, hence initialization fails. When we give command in U-boot (bootloader) as ?mii read 2 0 ? We see MDIO and MDC being toggled in CRO. We enabled the ?DIS_125CLK


Unable to query target part layout

Started by xtmtd in comp.arch.embedded18 years ago 1 reply

Unable to query target part layout!!! When I work with the xilinx edk(ver8.1), after buttoning down the ? download bitstream?, I want to...

Unable to query target part layout!!! When I work with the xilinx edk(ver8.1), after buttoning down the ? download bitstream?, I want to make a bootloader from the external flash ,but a problem still baffles me all the time, when I pressed the ?program flash memory?, here is the context showed to me.. ------------- Performing CFI Query on the flash part(s)...Processor started. Type "st...


UART Emulation

Started by andyko74 in comp.arch.embedded15 years ago 1 reply

I am using an Atmel AT89C5132 and am connecting it through the USB bootloader to my computer. But I want to interpret the data as a...

I am using an Atmel AT89C5132 and am connecting it through the USB bootloader to my computer. But I want to interpret the data as a Serial input. I have heard you can use UART emulation (Communication Device Class). Where you can set the USB Class with a virtual COM port in Windows, and then can send/receive data using the Windows normal UART communication. Basically emulate the COM port using...


Initializing static variables (GNU gcc tools for H8S/2633)

Started by Robert Bielik in comp.arch.embedded20 years ago 13 replies

Hi all, I have "inherited" a project with a H8S/2633F MPU (using the GNU gcc toolchain). I need static variables. Problem is that there is no...

Hi all, I have "inherited" a project with a H8S/2633F MPU (using the GNU gcc toolchain). I need static variables. Problem is that there is no init code for static variables in the bootloader code. I.e. the initial static data is correctly placed in the FLASH ROM, but the data is never transferred at startup to the RAM. I have searched everywhere for a simple example showing how to do it bu...


MPC83xx PCI Memory Access causes system hang

Started by spv in comp.arch.embedded16 years ago

I have an MPC83xx based system. We have PCI device connected. I am currently working on the bootloader to setup and test the PCI...

I have an MPC83xx based system. We have PCI device connected. I am currently working on the bootloader to setup and test the PCI subsystem onboard. Following things are done. 1. Enabled PCI 2. configured and identified all the PCI devices onboard. 3. Identified the Memory space needed for each of the device. 4. Following setting are done - system registers are located @ 0xE0000000 - hen...


Flash Memory - Loading an Application of 2M size into 1M Flash memory

Started by KBG in comp.arch.embedded18 years ago 14 replies

Hi Friends, I have 1M flash memory allocated for Application. But the Application size exceeds the 1M limit (Application size is 2M). But,...

Hi Friends, I have 1M flash memory allocated for Application. But the Application size exceeds the 1M limit (Application size is 2M). But, now i cannot redesign the hardware and fit in any extra Flash Memories to resolve this size issue . I have RS232, Ethernet support on my board. My Bootloader is loading the application perfectly. ( I tried with a small application that spits some stri...


Amtel SAM9 "boot from NAND" is a myth?

Started by Grant Edwards in comp.arch.embedded14 years ago 63 replies

We recently based a board on an Atmel AT91SAM9G20 part which the FAE and rep said could boot from NAND flash. The eval board can indeed...

We recently based a board on an Atmel AT91SAM9G20 part which the FAE and rep said could boot from NAND flash. The eval board can indeed be configured to boot from NAND flash. However, when it comes time to spec parts for a real product, we find that's all smoke and mirrors. The Atmel SAM9 parts require that block 0 be completely free of bit errors since the ROM bootloader doesn't do ECC (...


stuart interrupt problem on pxa255 board

Started by terry in comp.arch.embedded18 years ago

Hi, i'm developing a bootloader on a pxa255 based board. I have a problem using stuart RX interrupt. When I enter a character on a console, it...

Hi, i'm developing a bootloader on a pxa255 based board. I have a problem using stuart RX interrupt. When I enter a character on a console, it receives the correct character when I read the STRBR register, but no jump to my IRQ function. Below is a function initializing stuart. void serial_init(unsigned long baudrate) { unsigned int rate; rate = UART_CLOCK/(16*baudra...


Spontaneous erasure of AVR working as SPI slave

Started by wzab in comp.arch.embedded13 years ago

Hi, I'm using an ATmega32U2 uC as an SPI slave. Namely it receives the I2S data stream sent to the DA1134F DAC in the AUREL's audio link (...

Hi, I'm using an ATmega32U2 uC as an SPI slave. Namely it receives the I2S data stream sent to the DA1134F DAC in the AUREL's audio link ( http://aurelwireless.com/rf-wireless-modules/product-info.asp?id=303 , http://aurelwireless.com/rf-wireless-modules/product-info.asp?id=302 ) However once, when I pressed RESET button to enter the DFU bootloader and update the firmware, I've stated, t...