Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by w_bwr

  1. W

    [SOLVED] Firmware hangup problem, #RTOS, #SD, #Serial

    The issue was that i mistakenly declared larger data buffer as local in a SerialTestAuto() function. That caused the firmware to crash. I, now, declared them as global and everything is fine now.
  2. W

    [SOLVED] Firmware hangup problem, #RTOS, #SD, #Serial

    There were 5 tasks running, i stopped all the task except the one with the desired function. Firmware doesn't freeze on anywhere now. Then i re-opened all tasks one by one and found the one which one was causing problems. This task does nothing, was included for future use. But Disabling this...
  3. W

    [SOLVED] Firmware hangup problem, #RTOS, #SD, #Serial

    I wrote a simple program to test the on board peripherals. here is the code, i excluded the unnecessary details. int WRToSD(char cStrings[100]) { if (SdCard.iSdStatus == SD_INITIALIZED) { K_Serial_Print_Wait("WRToSD called\r\n",15,200); // Writes to Serial monitor SDFile =...
  4. W

    Toshiba T6A39 Graphic LCD Controller Instruction Set

    Hi, I need the instruction set of Toshiba T6A39 Graphic LCD Controller. Thanks
  5. W

    Kingston SDHC Reset Problem

    I have been working on SD Cards and tested the code on different brands of SD card. All work fine but Kingston. I have tested SanDisk, ADATA and Kingston. Whenever I use Kingston, it initializes on alternate turns i.e. if it is successfully initialized on the first attempt, it will definitely...
  6. W

    SD Card Free Space Calculation

    It doesn't come out from the IDLE State, keeping returning 1. I keep the sending the command for more than a minute.
  7. W

    SD Card Free Space Calculation

    Yes, I was referring to an SD Card formatted in FAT/FAT32. Yes, this is true for FAT only. For FAT32, there is structure INFO Sector, usually the 1st sector, that contains the information about number of free clusters, and next free cluster etc. Reading the sector, significantly reduces the...
  8. W

    SD Card Free Space Calculation

    Hi, I want to find the free space on SD Card. What i am doing reading out every sector and mark the free sectors. In the end, multiplying it with number of clusters and BytesPerSector. it works fine. but it takes much time on 40MHz micorcontroller and the time increases with the increase in the...
  9. W

    C statement _ Explanation needed (Probably some Structure)

    What does this statement mean? x = (Device_Type->GetStatus)(Device->Data.Unit);
  10. W

    Problem in initialization of SDHC card

    Yup, I have gone through the this before. My Init() routine doesn't send any commands, but only some pulses. I modified it to this: static WORD spiSD_Init(WORD j) { WORD aFreq= SPISD_BRATE_PINDEFAULT; BYTE i, Y= 0xFF; BYTE idle[6] = {0x40,0x00,0x00,0x00,0x00,0x95}; unsigned int retry...
  11. W

    Problem in initialization of SDHC card

    My code works fine SD card < 2GB. but when i use SDHC (>2GB) , it gives error in initialization. Here is the code: static WORD spiSD_Init(WORD j) { WORD aFreq= SPISD_BRATE_PINDEFAULT; BYTE i, Y= 0xFF; SetBit(SPI_CS_PORT, SPI_CS_PIN)...
  12. W

    SD Card Initilization & dislplay Char through serial port

    I am trying to interface SD card with ST10276e controller. During Initializing SD card don't go to IDLE State. SD card returns a 8bit data to every command send, which tells the status of the command. I have declared a character type variable "ucStatus" to hold the returned token. I want to...
  13. W

    "MaybeExtern" Keyword in C

    Preprocessor Driective are commonly used for three purporses: 1: Header Filer like this #include <stdio.h> 2: Macro #define [Function Name with arguments] [condition] #define Max(int a, int b) (a>b) ? a :b 3: Defining Constants #include [Name] [Constant Value] #include T4_Trap 0x27...
  14. W

    "MaybeExtern" Keyword in C

    The Macro name does show any arguments. Is this Macro Syntax? If EpanelMain is set. This makes this "MaybeExtern _far float fGenCurrent[MaxGeneric]" variable only this "_far float fGenCurrent[MaxGeneric]".
  15. W

    "MaybeExtern" Keyword in C

    This is a C code for an Embedded application. What does the MaybeExtern implies? It is not given any value. This Code is written in a Main.c file: #define EpanelMain #include "globals.h" #undef EpanelMain This code is written in globals.h . #ifdef EpanelMain #define MaybeExtern #else...

Part and Inventory Search

Back
Top