Victor, The datasheet shows only 640 sectors, so your range is only 0x280, not = ox3ff. If you want to split that into three portions, they would have to = start at 0x000, 0x0d5, and 0x1ab. You may want to look at the Current Device Status (CDS) Overflow and Illega= l = Address flags to to help you see if either of those is a problem. Good luck. Richard ----- Original Message ----- = From: "VICTOR PV" To: Sent: Sunday, December 06, 2009 11:34 PM Subject: [PIC] Audio recording in APR6008 chip With PIC16F877A. Hi all I am developing an automatic bell system which records audio in APR6008 and plays at predetermined time. The controller used in PIC16F877A. I recorded audio in the APR6008 and played back. The problem is when recording time increases early recorded area replaces with new data. The datasheet of APR6008 shows that there is 10bits address for the memory(out of total 15 bits, 5 bits reserved for future use.) So my plan was to divide total 3FF range Divided into three portions. Since APR6008 can store 8min audio, now each section will get 160 seconds. The starting addresses for each section selected as 0x 000, 0x155, 0x2AA. I wrote code with this addresses. Then address 0x2AA didn=92t accepted by the device. Ot= her two portions recorded but over lapped. This problem is confusing me for some days. If any body have idea please help. Thanks in advance. Victor. -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist = -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist