MAC Reboot with SCSI

2 views
Skip to first unread message

Anu P

unread,
Sep 2, 2015, 10:55:02 AM9/2/15
to ata-sc...@lists.apple.com
Hello,

I am working on USB firmware update tool for MAC.

To successfully update the firmware, we switch between two areas within our ASIC. We issue a "Jump to" SCSI command to do this.

A SCSI command is made up of:

COMMAND, DATA, and STATUS

The issue right now is that within our firmware, when we receive the "Jump to" command, we immediately execute the jump without returning the status portion. And it seems that since the Mac is not getting the status, it reboots.

Please help me to resolve the issue.

Thanks,
Anu

Anu P

unread,
Sep 2, 2015, 12:41:12 PM9/2/15
to ata-sc...@lists.apple.com
Hello,

When the same SCSI command is executed in Windows, Windows doesn't reboot.
Anybody knows why MAC reboots when status is not received? How can I prevent MAC from rebooting? 
We have already finalized firmware and we can't change firmware in my ASIC anymore.

Thanks,
Anu

Chris Sarcone

unread,
Sep 2, 2015, 1:20:31 PM9/2/15
to Anu P, ata-sc...@lists.apple.com
Anu —

Thanks for the response!
My device is USB mass storage.

That didn’t answer the question. Is it PDT 00h (i.e. SCSI Block device)?

When the same SCSI command is executed in Windows, Windows doesn't reboot.
Anybody knows why MAC reboots when status is not received? How can I prevent MAC from rebooting?

It would be helpful if you checked for whether or not the Mac panic’ed and auto-rebooted. Do you see any indication of a kernel panic on the system?


Thanks,

— Chris


We have already finalized firmware and we can't change firmware in my ASIC anymore.

Thanks,
Anu

On Wed, Sep 2, 2015 at 7:54 AM, Anu P <tekk...@gmail.com> wrote:
Hello,

I am working on USB firmware update tool for MAC.

To successfully update the firmware, we switch between two areas within our ASIC. We issue a "Jump to" SCSI command to do this.

A SCSI command is made up of:

COMMAND, DATA, and STATUS

The issue right now is that within our firmware, when we receive the "Jump to" command, we immediately execute the jump without returning the status portion. And it seems that since the Mac is not getting the status, it reboots.

Please help me to resolve the issue.

Thanks,
Anu

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Ata-scsi-dev mailing list      (Ata-sc...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/ata-scsi-dev/sarcone%40apple.com

This email sent to sar...@apple.com


------------------

19191 Vallco Parkway

M/S 77-1SSG

Cupertino CA 95014

phone: (408) 974-4033

fax:   (408) 862-7577

email: sar...@apple.com


Anu P

unread,
Sep 10, 2015, 8:44:05 PM9/10/15
to Chris Sarcone, ata-sc...@lists.apple.com
Hi Chris,

Thanks for the response.
My device is SCSI block device.
I checked location /Library/Logs to find if any panic log is available. This location doesn't contain any Panic log.

Thanks,
Anu
Reply all
Reply to author
Forward
0 new messages