Looking for a tools to report memory usage

Started by Like2Learn in comp.arch.embedded8 years ago 14 replies

I have a legacy embedded product written by C under IAR workbench. I want to know how much memory the program will consume on-the-fly, so I can...

I have a legacy embedded product written by C under IAR workbench. I want to know how much memory the program will consume on-the-fly, so I can decide a suitable size of SDRAM for it, not too small to affect the performance, while not too big to affect the BOM. I don't have IAR workbench installed yet. Is there any tool that can help me to estimate the memory usage of a program even without...


8051 memory interfacing questions

Started by andrew queisser in comp.arch.embedded15 years ago 9 replies

I'm trying to understand what my options are when it comes to interfacing memory to 8051. Am I correct that: - interfacing DRAM is complex...

I'm trying to understand what my options are when it comes to interfacing memory to 8051. Am I correct that: - interfacing DRAM is complex (for a beginner) - interfacing SRAM is more straightforward and is really the only practical memory type for fast, random access at the byte level (e.g. stack, heap) - interfacing FlashRAM is also straightforward but writing is more complex than just ...


Memory efficient C queues

Started by Iggins in comp.arch.embedded11 years ago

About tiny tiny C code: If I wanted to use a set amount of memory, like unsigned char byteMem[2048] in which to store and manipulate a...

About tiny tiny C code: If I wanted to use a set amount of memory, like unsigned char byteMem[2048] in which to store and manipulate a number of byte queues; my standard C approach would be to create a set of structs the let me pool out chunks of memory from the space for the byte queues to work in. I am not having luck finding references on how to keep the most possible usable spac...


U-Boot: memory configuration

Started by Roman Mashak in comp.arch.embedded11 years ago

Hello I was reading the U-Boot's README, section "Memory management". I don't quite understand, so please help me out: 1) does this section...

Hello I was reading the U-Boot's README, section "Memory management". I don't quite understand, so please help me out: 1) does this section embrace various platforms and describe generic behavior of U-boot or PPC-specific? 2) it presents memory configuration, as I understand, for the case of booting from flash. How will it look when u-boot is loaded in RAM by preliminary boot code? ...


detecting memory-mapped i/o peripheral in OS

Started by banu in comp.arch.embedded15 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...


CoolRunner 2 CPLD

Started by Duccio in comp.arch.embedded13 years ago 1 reply

I want to know if the X2c family (coolrunner II) have a non-volatile program memory inside its package: I would like a non-volatile...

I want to know if the X2c family (coolrunner II) have a non-volatile program memory inside its package: I would like a non-volatile memory (eeprom...) that contains the "programs" also when it's extinguished (and with a number of macrocells comparable with a small/medium fpga). However I would know the name of a low-power, non-volatile program memory family (CPLD). Another question: can I u...


x86 code compression

Started by Anonymous in comp.arch.embedded14 years ago 7 replies

Hello In my project i just got 128kb memory space for my x86-ROM-code. So i'd like to try to get more code executed in this limited memory...

Hello In my project i just got 128kb memory space for my x86-ROM-code. So i'd like to try to get more code executed in this limited memory space. I wonder if anyone ever used x86 code compression successfully to save memory footage !? URLs & book references appreciated. thanks in advance josef


Debugger question

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

Hi, when using the powerpc-eabi-gdb debugger. To set breakpoints, gdb uses memory read and write commands to nondestructively replace a...

Hi, when using the powerpc-eabi-gdb debugger. To set breakpoints, gdb uses memory read and write commands to nondestructively replace a source instruction with a trap instruction. If you replace a source instruction, isn't the memory at that moment changing ? So are the memory locations in that case still correct ? Tom


AVR + USB Memory stick

Started by Anonymous in comp.arch.embedded13 years ago 10 replies

I want to build an small data logger based around ATMEL's 8535 (or one of the AVR Mega). I need to log around 300MBytes of data. USB memory...

I want to build an small data logger based around ATMEL's 8535 (or one of the AVR Mega). I need to log around 300MBytes of data. USB memory sticks are cost effective storage mediums. Is there a simple way to interface a USB memory stick with an ATMEL microcotroller? Ray


TMS470 - Use of external bus to access memory and peripherals

Started by Elde...@yahoo.com in comp.arch.embedded11 years ago

I have tried to figure out from TMS470R1 documentation but it is not clear to me if what I want to do is possible. I want to access two classes...

I have tried to figure out from TMS470R1 documentation but it is not clear to me if what I want to do is possible. I want to access two classes of devices through the external bus: an asynchronous memory and slow peripheral devices (from a legacy design). The async memory will be 16 bits wide and should be accessed as fast as possible (timebase: SYSCLOCK @ 60MHz) whereas the peripheral bus wi...


VMA vs LMA?

Started by dspfun in comp.arch.embedded10 years ago 7 replies

Hi! What is the difference between VMA (Virtual Memory Address) and LMA (Load Memory Address)? The Gnu ld documentation has the following...

Hi! What is the difference between VMA (Virtual Memory Address) and LMA (Load Memory Address)? The Gnu ld documentation has the following explanation: "Every loadable or allocatable output section has two addresses. The first is the VMA, or virtual memory address. This is the address the section will have when the output file is run. The second is the LMA, or load memory address. This i...


Memory Test algorithm

Started by MrPink in comp.arch.embedded11 years ago 6 replies

Hi all, I'm trying to use the Michael Barr's memory testing algorithm (http:// www.netrino.com/Embedded-Systems/How-To/Memory-Test-Suite-C) but...

Hi all, I'm trying to use the Michael Barr's memory testing algorithm (http:// www.netrino.com/Embedded-Systems/How-To/Memory-Test-Suite-C) but I'm not completely satisfied of it. Referring to the Address Bus test, I think that not all the address bus fault can be detected by this algorithm... For example, If you have more than one address line stuck high, you'll not catch it. If you have t...


How Physical Memory Mapping / Allocation works

Started by Ilias Abrams in comp.arch.embedded1 year 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


USB iterface to read memory sticks

Started by Grahame in comp.arch.embedded15 years ago 13 replies

Hi. I am new to this group, I have look through the archive (as much of the old archive as possible) but haven't found any solution. I...

Hi. I am new to this group, I have look through the archive (as much of the old archive as possible) but haven't found any solution. I wish to interface a AVR Mega128 to read USB Memory Sticks or worst case PCMCIA Memory Flash Cards. Thus the USB I am loking for is a master rather than the off-the- shelf slave designs. Can anyone kindly point me to a URL with such a interface design...


paradigm locate 5.0 for 80188: insufficient memory?

Started by vax9000 in comp.arch.embedded13 years ago 9 replies

Hello, I have paradigm locate 5.0 that I use to generate rom image for 80C188XL cpu. it works fine with the demo comming with it (the...

Hello, I have paradigm locate 5.0 that I use to generate rom image for 80C188XL cpu. it works fine with the demo comming with it (the 'sieve' demo). However, it does not work with my own files, complaining "error 1004: insufficient memory available for paradigm locate". The compiled executable is not very big, it is about 38 kBytes. I run locate on the computer with 128MBytes memory and it...


MSP430 info memory vs Rowley

Started by larwe in comp.arch.embedded10 years ago 9 replies

I'm trying to locate a structure in MSP430 info memory using Rowley CrossWorks (a preinitialized structure, so it appears in the .txt file). Is...

I'm trying to locate a structure in MSP430 info memory using Rowley CrossWorks (a preinitialized structure, so it appears in the .txt file). Is there a pragma or other directive similar to IAR's that will directly place my structure in info memory without having to play with custom segment names and special linker control info? ISTR having done this in the past but cannot remember how to do i...


8051: writing to memory in the program

Started by wanwan in comp.arch.embedded12 years ago 8 replies

I'm learning the 8051 type microcontroller now and using the Atmel 89s52 microcontroller. There are 2kb of RAM and 8kb of flash memory. I'd...

I'm learning the 8051 type microcontroller now and using the Atmel 89s52 microcontroller. There are 2kb of RAM and 8kb of flash memory. I'd like my program to be able to write some data to memory while running, so these data can be remembered when power down and can be retrieved at power up. Is there a way to do it? How do I do such a write with embedded c? Thanks


Create device ram in uClinux

Started by Potxoka in comp.arch.embedded11 years ago

Hello I have a little doubt with the design of a system with uClinux, the design consists of a Samsung S3C2440, 64MB of flash memory and 64MB...

Hello I have a little doubt with the design of a system with uClinux, the design consists of a Samsung S3C2440, 64MB of flash memory and 64MB of RAM. I need to create a unit in memory of 128MB, this would be easy to change the chipset by others over capacity, but what we need is another memory that is separate from the system, as a peripheral. Know as cover this story with other similar de...


STR912 bitfield access to memory mapped peripherals

Started by frikkiethirion in comp.arch.embedded10 years ago 4 replies

Good day, I wonder if somebody has managed to create a structured way of accessing the memory mapped IO attached to the STR912 [ARM9] via...

Good day, I wonder if somebody has managed to create a structured way of accessing the memory mapped IO attached to the STR912 [ARM9] via bitfields. I can manipulate the members of a union that is declared in main(), bus as soon as I make a pointer type of my union and point it to the memory bus, I get unexpected results. The following two posts, from 2000 and 2005, make it seem asif it is...


Name this CPU

Started by aleksa in comp.arch.embedded12 years ago 5 replies

(in order of importance) * internal SRAM and FLASH ROM (protected from reading) * instruction set similar to x86, including: ...

(in order of importance) * internal SRAM and FLASH ROM (protected from reading) * instruction set similar to x86, including: instruction mnemonics, addressing modes, 8-16-32bit regs, read/write 8-16-32bit from/to internal/external memory, FPU * 32megs of addressable external memory * timers/counters, external IRQs, 32bits of memory-mapped I/O * pin-coun...