This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bad code

See code in last thread

Author
Andy Neil
Posted
12-Jun-2007 05:39
Toolset
C51 Irrelecant code!
Andy Neil
Author: jamil rafar
Posted: 12-Jun-2007 04:54
"what is wrong with this code plese"

Apart from the formatting, It appears to have nothing whatsoever with the topic of this thread!

Please start a new thread for a new topic!

Parents
  • From the above I take it that you are not implementing a new embedded program for use in the camera.

    You are not using any Keil tools, so this seems to be the wrong forum.

    What platform are you trying to test the memory chip on?

    The question about chip was which _microprocessor_ the target hardware is using. If the target is a PC, then you are very much in the wrong forum.

    If this is an embedded system, then we also need to know how the microcontroller is connected to the memory.

    Why not just use normal memory reader on a PC, and test the card? Do the camera support the specific size of card? Is the card formatted? Is the card formatted with a file system that the camera supports? Have you tried letting the camera format the card?

    About your source code: It is not complete. It is only a partial function. The rest of the function - and a number of other functions - are missing.

Reply
  • From the above I take it that you are not implementing a new embedded program for use in the camera.

    You are not using any Keil tools, so this seems to be the wrong forum.

    What platform are you trying to test the memory chip on?

    The question about chip was which _microprocessor_ the target hardware is using. If the target is a PC, then you are very much in the wrong forum.

    If this is an embedded system, then we also need to know how the microcontroller is connected to the memory.

    Why not just use normal memory reader on a PC, and test the card? Do the camera support the specific size of card? Is the card formatted? Is the card formatted with a file system that the camera supports? Have you tried letting the camera format the card?

    About your source code: It is not complete. It is only a partial function. The rest of the function - and a number of other functions - are missing.

Children
No data